diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 4272920..294d9d8 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -15,14 +15,25 @@ config.load_autoconfig() # load catppuccin theme catppuccin.setup(c, "Machiatto", True) -# change startpage -c.url.start_pages = ['https://startpage.cronyakatsuki.xyz'] +# load custom configs +config.source("pyconfig/redirectors.py") -# launch with mpv -config.bind(',m', 'spawn mpv {url}') -config.bind(',M', 'hint links spawn mpv {hint-url}') +# enable dark mode +c.colors.webpage.darkmode.enabled = True + +# change startpage and default page +c.url.start_pages = ["https://startpage.cronyakatsuki.xyz"] +c.url.default_page = "https://startpage.cronyakatsuki.xyz" + +# search engines +c.url.searchengines = { + "DEFAULT": "https://searx.cronyakatsuki.xyz/?q={}", + "aw": "https://wiki.archlinux.org/?search={}", + "re": "https://www.reddit.com/r/{}", + "w": "https://en.wikipedia.org/wiki/{}", + "y": "https://www.youtube.com/results?search_query={}", +} -# disable javascript globally c.content.javascript.enabled = False # enable dark mode