From ed796356c4c77bd15bd64bf01e9f86ede98a24fa Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 15 Dec 2023 19:03:57 -0500 Subject: [PATCH] qutebrowser: add paperless shortcut --- src/.config/fish/aliases.fish | 2 ++ src/.config/qbprof/papr/config/config.py | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/.config/qbprof/papr/config/config.py diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index 829217e..e21c01c 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -62,6 +62,8 @@ end # # listenbrainz function lstb; qbprof lstb; end +# paperless +function papr; qbprof papr; end function work; qbprof work; end function chat; qbprof chat; end function zoom; qbprof zoom; end diff --git a/src/.config/qbprof/papr/config/config.py b/src/.config/qbprof/papr/config/config.py new file mode 100644 index 0000000..48ecf2d --- /dev/null +++ b/src/.config/qbprof/papr/config/config.py @@ -0,0 +1,22 @@ +config.load_autoconfig(False) + +c.input.mode_override = "passthrough" +c.statusbar.show = "never" +c.tabs.show = "multiple" +c.bindings.default["passthrough"] = {} +c.bindings.commands["passthrough"] = { + "": "mode-leave" +} + +c.url.start_pages = "https://doc.dogeystamp.com" + +c.downloads.location.directory = "~/quar/" +c.downloads.remove_finished = 1000 +c.scrolling.smooth = True + +c.colors.webpage.darkmode.enabled = True + +# homegrown file selector +c.fileselect.handler = "external" +c.fileselect.multiple_files.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"] +c.fileselect.single_file.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]