diff --git a/home/gui/qutebrowser.nix b/home/gui/qutebrowser.nix index ae9142b..c3a3561 100644 --- a/home/gui/qutebrowser.nix +++ b/home/gui/qutebrowser.nix @@ -10,9 +10,7 @@ ",R" = "spawn --userscript obsidian-import -r"; ",U" = "spawn --userscript sendurl"; ",V" = "hint links spawn umpv {hint-url}"; - ",b" = "spawn rofi-buku"; ",d" = "spawn --userscript open_download"; - ",j" = "spawn --userscript joplin-import"; ",l" = "spawn --userscript qute-bitwarden"; ",m" = "spawn --userscript mymail"; ",n" = '' @@ -24,7 +22,6 @@ ",v" = "spawn /home/don/bin/myweb {url}"; ",w" = "cmd-set-text -s :spawn --userscript taskadd"; ";V" = "hint --rapid links spawn myweb {hint-url}"; - "gF" = "spawn --userscript openfeeds"; "xb" = "config-cycle statusbar.show always in-mode"; "xt" = "config-cycle tabs.show always switching"; "xx" = @@ -192,7 +189,6 @@ ''; settings = { auto_save = { session = true; }; - #}; colors = { webpage = { bg = "#2d2d2d"; @@ -218,6 +214,9 @@ content = { autoplay = false; blocking = { + hosts = { + block_subdomains = true; + }; adblock = { lists = [ "https://secure.fanboy.co.nz/fanboy-annoyance.txt" @@ -227,8 +226,16 @@ }; enabled = true; }; + cookies = { + accept = "no-3rdparty"; + }; + }; + dns_prefetch = false; + local_content_can_access_remote_urls = true; + downloads = { + prevent_mixed_content = true; + position = "top"; }; - downloads = { prevent_mixed_content = true; }; fileselect = { folder = { command = [ "kitty" "-e" "ranger" "--choosedir={}" ]; }; handler = "external"; @@ -239,6 +246,7 @@ command = [ "kitty" "-e" "ranger" "--choosefile={}" ]; }; }; + pdfjs = false; qt = { args = [ "widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so" @@ -246,7 +254,10 @@ workarounds = { remove_service_workers = true; }; }; spellcheck = { languages = [ "en-US" ]; }; - statusbar = { show = "in-mode"; }; + statusbar = { + show = "in-mode"; + position = "bottom"; + }; tabs = { favicons = { scale = 1; }; indicator = { width = 1; }; @@ -256,7 +267,15 @@ show = "always"; title = { format = "{audio}{current_title}"; }; }; - url = { default_page = "about:blank"; }; + url = { + default_page = "about:blank"; + searchengines = "DEFAULT: http://fred:8888/?q={}"; + }; + user_stylesheets = null; + editor = { + encoding = "utf-8"; + command = [ "kitty" "-e" "nvim" "{file}" ]; + }; }; }; home.file.qutebrowserlocal = {