From 7bda618b831adde7cf8cc04011baeabf9872ade5 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 23 Jun 2023 21:08:55 -0400 Subject: [PATCH] qutebrowser: Continue nixifying config --- home/qutebrowser.nix | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/home/qutebrowser.nix b/home/qutebrowser.nix index 7cda015..98931ae 100644 --- a/home/qutebrowser.nix +++ b/home/qutebrowser.nix @@ -35,6 +35,18 @@ single_file.command = [ "kitty" "-e" "joshuto" "--output-file" "{}" ]; }; + downloads = { + location.directory = "$HOME/Downloads"; + location.prompt = false; + position = "bottom"; + remove_finished = 5000; + }; + + qt = { + args = [ "disable-backing-store-limit" "enable-accelerated-video-decode" "disable-gpu-driver-bug-workarounds" ]; + chromium.low_end_device_mode = "never"; + }; + editor.command = [ "kitty" "-e" "nvim" "{}" ]; }; @@ -74,16 +86,6 @@ c.colors.contextmenu.menu.fg = '#ffffff' c.colors.contextmenu.selected.bg = '#909090' - # Chromium flags - c.qt.args = ["disable-backing-store-limit", "enable-accelerated-video-decode", "disable-gpu-driver-bug-workarounds"] - c.qt.chromium.low_end_device_mode = 'never' - - # Download settings - c.downloads.location.directory = "$HOME/Downloads" - c.downloads.location.prompt = False - c.downloads.position = "bottom" - c.downloads.remove_finished = 5000 - # Increase the default scroll offset of j/k # NOTE: Unfortunately this breaks websites that use their own keybinds for j/k/etc # config.bind('j', 'run-with-count 5 scroll down')