dots-of-war/files/.config/qutebrowser/config.py

54 lines
1.3 KiB
Python
Raw Normal View History

2020-03-29 17:39:21 +00:00
import dracula.draw
dracula.draw.blood(c, {
'spacing': {
'vertical': 4,
'horizontal': 8
}
})
2020-04-04 13:12:33 +00:00
# config.load_autoconfig()
2020-03-29 17:39:21 +00:00
c.backend = 'webengine'
config.unbind("<Ctrl-tab>")
2020-04-04 13:12:33 +00:00
config.unbind("d")
config.bind("Q", "tab-close")
2020-03-29 17:39:21 +00:00
config.bind("<Ctrl-Tab>", "tab-next")
config.bind("<Ctrl-Shift-Tab>", "tab-prev")
config.bind("<Ctrl-L>", "set-cmd-text -s :open")
config.bind(",y", "hint links spawn mpv {hint-url}")
config.bind(",Y", "spawn mpv {url}")
2020-04-05 09:27:52 +00:00
config.bind(",p", "hint links spawn evince {url}")
2020-03-29 17:39:21 +00:00
2020-03-31 16:38:27 +00:00
config.bind("<Alt-j>", "scroll-px 0 40")
config.bind("<Alt-k>", "scroll-px 0 -40")
2020-03-29 18:47:50 +00:00
c.tabs.show = "multiple"
2020-03-29 17:39:21 +00:00
c.tabs.show_switching_delay = 1000
2020-04-05 13:53:22 +00:00
c.url.open_base_url = True
2020-03-29 17:39:21 +00:00
c.statusbar.hide = False
c.fonts.statusbar = "default_size Iosevka"
2020-03-29 18:25:32 +00:00
c.fonts.default_family = ["JetBrainsMono"]
2020-03-29 17:39:21 +00:00
c.editor.command = ["alacritty", "-e", "vim", "{file}"]
2020-04-05 09:27:52 +00:00
# c.auto_save.session = True
2020-03-29 18:25:32 +00:00
c.url.searchengines = {
"DEFAULT": "https://duckduckgo.com/?q={}",
"wa": "https://wiki.archlinux.org/?search={}",
"y": "https://youtube.com/results?search_query={}",
"g": "https://google.com/search?q={}",
"h": "https://hoogle.haskell.org/?hoogle={}",
"w": "https://wikipedia.org/wiki/Special:Search/{}"
}
c.colors.webpage.prefers_color_scheme_dark = True
2020-03-29 17:39:21 +00:00
c.statusbar.padding = {"bottom": 1, "left": 8, "right": 8, "top": 1}