34 lines
1 KiB
Python
34 lines
1 KiB
Python
# Autogenerated config.py
|
|
# Documentation:
|
|
# qute://help/configuring.html
|
|
# qute://help/settings.html
|
|
|
|
# Uncomment this to still load settings configured via autoconfig.yml
|
|
# config.load_autoconfig()
|
|
|
|
# Enable JavaScript.
|
|
# Type: Bool
|
|
config.set('content.javascript.enabled', True, 'file://*')
|
|
|
|
# Enable JavaScript.
|
|
# Type: Bool
|
|
config.set('content.javascript.enabled', True, 'chrome://*/*')
|
|
|
|
# Enable JavaScript.
|
|
# Type: Bool
|
|
config.set('content.javascript.enabled', True, 'qute://*/*')
|
|
|
|
c.editor.command = ["alacritty", "-e", "nvim", "-f", "{file}"]
|
|
|
|
# ideas:
|
|
# have key to show/hide tab-bar
|
|
# TODO ideally this should toggle on one command, not require two different ones
|
|
config.bind('tt', 'set tabs.show switching')
|
|
config.bind('tT', 'set tabs.show always')
|
|
|
|
# have tab bar on the right, not on the top
|
|
c.tabs.position = "right"
|
|
|
|
# bind mpv to play the current page/links, using a single instance which queues the next link passed
|
|
config.bind('M', 'spawn umpv {url}')
|
|
config.bind('m', 'hint links spawn umpv {hint-url}')
|