45 lines
1.6 KiB
Python
45 lines
1.6 KiB
Python
import os
|
|
|
|
config.load_autoconfig(True)
|
|
c.aliases = {'q': 'close', 'wq': 'quit --save'}
|
|
c.tabs.background = True
|
|
c.auto_save.session = False
|
|
c.changelog_after_upgrade = 'never'
|
|
c.completion.cmd_history_max_items = -1
|
|
c.completion.height = '30%'
|
|
c.confirm_quit = ['always']
|
|
c.content.autoplay = False
|
|
c.content.default_encoding = 'utf-8'
|
|
c.content.dns_prefetch = False
|
|
c.content.headers.do_not_track = True
|
|
c.content.register_protocol_handler = False
|
|
c.content.notifications.enabled = False
|
|
c.downloads.position = 'bottom'
|
|
c.downloads.remove_finished = 20000
|
|
c.downloads.location.directory = os.path.expanduser("~/Downloads")
|
|
c.fonts.default_family = ["JetBrainsMono Nerd Font Mono"]
|
|
c.fonts.default_size = '12pt'
|
|
c.fonts.prompts = 'default_size default_family'
|
|
c.input.insert_mode.auto_load = True
|
|
c.scrolling.smooth = True
|
|
c.tabs.show = 'multiple'
|
|
c.tabs.undo_stack_size = -1
|
|
c.tabs.last_close = 'default-page'
|
|
c.url.start_pages = ['about:blank']
|
|
c.url.default_page = 'about:blank'
|
|
c.url.incdec_segments = ['path', 'query']
|
|
c.url.yank_ignored_parameters = ['ref', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid']
|
|
c.spellcheck.languages = ['en-US', 'pl-PL']
|
|
config.unbind('q')
|
|
config.bind('O', 'set-cmd-text -s :open -t -s')
|
|
config.bind('o', 'set-cmd-text -s :open -s')
|
|
config.bind('J', 'tab-prev')
|
|
config.bind('K', 'tab-next')
|
|
config.bind(',m', 'spawn mpv {url}')
|
|
config.bind(',M', 'hint links spawn mpv {hint-url}')
|
|
config.bind('=', 'zoom-in')
|
|
config.bind('0', 'zoom')
|
|
config.bind('\\', 'spawn 1password')
|
|
config.source('ftpd-theme.py')
|
|
config.source(os.path.expanduser("~/.local/settings/qutebrowser.py"))
|