task | clean up qutebrowser config

This commit is contained in:
Don Harper 2024-12-14 17:57:49 -06:00
parent 2a3a7ab858
commit 67c7d2a355

View file

@ -10,9 +10,7 @@
",R" = "spawn --userscript obsidian-import -r"; ",R" = "spawn --userscript obsidian-import -r";
",U" = "spawn --userscript sendurl"; ",U" = "spawn --userscript sendurl";
",V" = "hint links spawn umpv {hint-url}"; ",V" = "hint links spawn umpv {hint-url}";
",b" = "spawn rofi-buku";
",d" = "spawn --userscript open_download"; ",d" = "spawn --userscript open_download";
",j" = "spawn --userscript joplin-import";
",l" = "spawn --userscript qute-bitwarden"; ",l" = "spawn --userscript qute-bitwarden";
",m" = "spawn --userscript mymail"; ",m" = "spawn --userscript mymail";
",n" = '' ",n" = ''
@ -24,7 +22,6 @@
",v" = "spawn /home/don/bin/myweb {url}"; ",v" = "spawn /home/don/bin/myweb {url}";
",w" = "cmd-set-text -s :spawn --userscript taskadd"; ",w" = "cmd-set-text -s :spawn --userscript taskadd";
";V" = "hint --rapid links spawn myweb {hint-url}"; ";V" = "hint --rapid links spawn myweb {hint-url}";
"gF" = "spawn --userscript openfeeds";
"xb" = "config-cycle statusbar.show always in-mode"; "xb" = "config-cycle statusbar.show always in-mode";
"xt" = "config-cycle tabs.show always switching"; "xt" = "config-cycle tabs.show always switching";
"xx" = "xx" =
@ -192,7 +189,6 @@
''; '';
settings = { settings = {
auto_save = { session = true; }; auto_save = { session = true; };
#};
colors = { colors = {
webpage = { webpage = {
bg = "#2d2d2d"; bg = "#2d2d2d";
@ -218,6 +214,9 @@
content = { content = {
autoplay = false; autoplay = false;
blocking = { blocking = {
hosts = {
block_subdomains = true;
};
adblock = { adblock = {
lists = [ lists = [
"https://secure.fanboy.co.nz/fanboy-annoyance.txt" "https://secure.fanboy.co.nz/fanboy-annoyance.txt"
@ -227,8 +226,16 @@
}; };
enabled = true; 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 = { fileselect = {
folder = { command = [ "kitty" "-e" "ranger" "--choosedir={}" ]; }; folder = { command = [ "kitty" "-e" "ranger" "--choosedir={}" ]; };
handler = "external"; handler = "external";
@ -239,6 +246,7 @@
command = [ "kitty" "-e" "ranger" "--choosefile={}" ]; command = [ "kitty" "-e" "ranger" "--choosefile={}" ];
}; };
}; };
pdfjs = false;
qt = { qt = {
args = [ args = [
"widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so" "widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
@ -246,7 +254,10 @@
workarounds = { remove_service_workers = true; }; workarounds = { remove_service_workers = true; };
}; };
spellcheck = { languages = [ "en-US" ]; }; spellcheck = { languages = [ "en-US" ]; };
statusbar = { show = "in-mode"; }; statusbar = {
show = "in-mode";
position = "bottom";
};
tabs = { tabs = {
favicons = { scale = 1; }; favicons = { scale = 1; };
indicator = { width = 1; }; indicator = { width = 1; };
@ -256,7 +267,15 @@
show = "always"; show = "always";
title = { format = "{audio}{current_title}"; }; 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 = { home.file.qutebrowserlocal = {