c = c config = config c.url.searchengines = { "DEFAULT": "https://duckduckgo.com/?q={}", "!aw": "https://wiki.archlinux.org/?search={}", "!apkg": "https://archlinux.org/packages/?sort=&q={}&maintainer=&flagged=", "!aur": "https://aur.archlinux.org/packages?O=0&SeB=nd&K={}&outdated=&SB=p&SO=d&PP=50&submit=Go", "!gh": "https://github.com/search?o=desc&q={}&s=stars", "!yt": "https://www.youtube.com/results?search_query={}", } c.completion.open_categories = [ "searchengines", "quickmarks", "bookmarks", "history", "filesystem", ] config.load_autoconfig() # load settings done via the gui config.bind( "zl", "spawn --userscript qute-pass --username-pattern='login: (.*)' --username-target=secret", ) config.bind( "zul", "spawn --userscript qute-pass --username-only --username-pattern='login: (.*)' --username-target=secret", ) config.bind( "zpl", "spawn --userscript qute-pass --password-only --username-pattern='login: (.*)' --username-target=secret", ) config.bind( "zol", "spawn --userscript qute-pass --otp-only --username-pattern='login: (.*)' --username-target=secret", ) c.editor.command = ["alacritty", "-e", "nvim", "{file}", "-c", "normal {line}G{column}"] # NOTE: to make Slack sign-in work: # c.content.unknown_url_scheme_policy = "allow-all" c.content.blocking.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/filters-2024.txt", # "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2025.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", # ]