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

61 lines
1.5 KiB
Python
Raw Normal View History

2020-04-21 12:37:47 +00:00
import gruvboxy.draw
2020-03-29 17:39:21 +00:00
2020-04-21 12:37:47 +00:00
gruvboxy.draw.blood(c, {
2020-03-29 17:39:21 +00:00
'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'
2020-04-25 10:46:02 +00:00
c.scrolling.bar = "always" # "when-searching"
c.content.user_stylesheets = "user.css"
2020-03-29 17:39:21 +00:00
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-04-18 18:27:12 +00:00
c.tabs.background = True
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-04-18 18:27:12 +00:00
c.input.insert_mode.auto_enter = 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
2020-04-23 17:50:36 +00:00
c.url.searchengines = {
"DEFAULT": "https://duckduckgo.com/?q={}",
"wa": "https://wiki.archlinux.org/?search={}",
"y": "https://youtube.com/results?search_query={}",
2020-03-29 18:25:32 +00:00
"g": "https://google.com/search?q={}",
"h": "https://hoogle.haskell.org/?hoogle={}",
"w": "https://wikipedia.org/wiki/Special:Search/{}"
}
2020-04-18 18:27:12 +00:00
# c.content.user_stylesheets = "user.css"
2020-03-29 18:25:32 +00:00
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}