blob: b0b4049cd7d5b61c3b786a4fee1c7f031ba95f3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import os
# Keybindings
config.bind('x', 'spawn mpv {url}')
config.bind(',x', 'hint links spawn mpv {hint-url}')
config.bind('<Ctrl-l>', 'spawn --userscript password_fill')
c.editor.command = [os.environ["TERMINAL"], "-e", os.environ["VISUAL"], "{}"]
c.content.headers.do_not_track = True
# Disable javascript by default
config.set('content.javascript.enabled', False)
# Load autoconfig to enable javascript on trusted domains
config.load_autoconfig()
# Load theme
import theme
# set qutebrowser colors
for setting, color in theme.theme.items():
config.set(setting, color)
|