This commit is contained in:
meml0rz
2024-12-13 01:00:43 +01:00
parent 2045692ad5
commit ae592abb68
2 changed files with 44 additions and 26 deletions

View File

@ -7,6 +7,7 @@
{ {
imports = [ imports = [
./nix/user.nix ./nix/user.nix
./nix/qutebrowser.nix
./nix/nvim/default.nix ./nix/nvim/default.nix
./nix/hypr/default.nix ./nix/hypr/default.nix
./nix/bspwm/default.nix ./nix/bspwm/default.nix

View File

@ -8,7 +8,24 @@
qutebrowser = { qutebrowser = {
enable = true; enable = true;
extraConfig = '' extraConfig = ''
c.colors.webpage.darkmode.enabled = True c.content.blocking.method = 'adblock'
c.content.blocking.adblock.lists = [
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2021.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2022.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2023.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/badware.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-cookies.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-others.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/quick-fixes.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt"]
config.load_autoconfig(True) config.load_autoconfig(True)
config.set("content.cookies.accept", "all", "chrome-devtools://*") config.set("content.cookies.accept", "all", "chrome-devtools://*")
config.set("content.cookies.accept", "all", "devtools://*") config.set("content.cookies.accept", "all", "devtools://*")