Last active
May 14, 2018 08:13
-
-
Save schemar/705ecfa935a7d732388b0e87327984a1 to your computer and use it in GitHub Desktop.
Dvorak friendly config for qutebrowser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Autogenerated config.py | |
# Documentation: | |
# qute://help/configuring.html | |
# qute://help/settings.html | |
# ~/.config/qutebrowser/config.py on Linux | |
# ~/.qutebrowser/config.py on macOS | |
# %APPDATA%/qutebrowser/config.py on Windows | |
# 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://*/*') | |
# Custom hinting for Dvorak | |
config.set('hints.chars', 'aoeuidnths') | |
# Custom key bindings for Dvorak | |
config.bind('J', 'tab-prev') | |
config.bind('K', 'tab-next') | |
config.bind('D', 'undo') | |
config.bind('u', 'hint') | |
config.bind('U', 'hint all tab') | |
# | |
# Colors | |
# | |
solarized = { | |
'base03': '#002b36', | |
'base02': '#073642', | |
'base01': '#586e75', | |
'base00': '#657b83', | |
'base0': '#839496', | |
'base1': '#93a1a1', | |
'base2': '#eee8d5', | |
'base3': '#fdf6e3', | |
'yellow': '#b58900', | |
'orange': '#cb4b16', | |
'red': '#dc322f', | |
'magenta': '#d33682', | |
'violet': '#6c71c4', | |
'blue': '#268bd2', | |
'cyan': '#2aa198', | |
'green': '#859900' | |
} | |
## Background color of the completion widget category headers. | |
## Type: QssColor | |
c.colors.completion.category.bg = solarized['base03'] | |
## Bottom border color of the completion widget category headers. | |
## Type: QssColor | |
c.colors.completion.category.border.bottom = solarized['base03'] | |
## Top border color of the completion widget category headers. | |
## Type: QssColor | |
c.colors.completion.category.border.top = solarized['base03'] | |
## Foreground color of completion widget category headers. | |
## Type: QtColor | |
c.colors.completion.category.fg = solarized['base3'] | |
## Background color of the completion widget for even rows. | |
## Type: QssColor | |
c.colors.completion.even.bg = solarized['base02'] | |
## Text color of the completion widget. | |
## Type: QtColor | |
c.colors.completion.fg = solarized['base1'] | |
## Background color of the selected completion item. | |
## Type: QssColor | |
c.colors.completion.item.selected.bg = solarized['violet'] | |
## Bottom border color of the selected completion item. | |
## Type: QssColor | |
c.colors.completion.item.selected.border.bottom = solarized['violet'] | |
## Top border color of the completion widget category headers. | |
## Type: QssColor | |
c.colors.completion.item.selected.border.top = solarized['violet'] | |
## Foreground color of the selected completion item. | |
## Type: QtColor | |
c.colors.completion.item.selected.fg = solarized['base3'] | |
## Foreground color of the matched text in the completion. | |
## Type: QssColor | |
c.colors.completion.match.fg = solarized['base2'] | |
## Background color of the completion widget for odd rows. | |
## Type: QssColor | |
c.colors.completion.odd.bg = solarized['base02'] | |
## Color of the scrollbar in completion view | |
## Type: QssColor | |
c.colors.completion.scrollbar.bg = solarized['base1'] | |
## Color of the scrollbar handle in completion view. | |
## Type: QssColor | |
c.colors.completion.scrollbar.fg = solarized['base2'] | |
## Background color for the download bar. | |
## Type: QssColor | |
c.colors.downloads.bar.bg = solarized['base03'] | |
## Background color for downloads with errors. | |
## Type: QtColor | |
c.colors.downloads.error.bg = solarized['red'] | |
## Foreground color for downloads with errors. | |
## Type: QtColor | |
c.colors.downloads.error.fg = solarized['base3'] | |
## Color gradient start for download backgrounds. | |
## Type: QtColor | |
# c.colors.downloads.start.bg = '#0000aa' | |
## Color gradient start for download text. | |
## Type: QtColor | |
c.colors.downloads.start.fg = solarized['base3'] | |
## Color gradient stop for download backgrounds. | |
## Type: QtColor | |
# c.colors.downloads.stop.bg = '#00aa00' | |
## Color gradient end for download text. | |
## Type: QtColor | |
# c.colors.downloads.stop.fg = solarized['base3'] | |
## Color gradient interpolation system for download backgrounds. | |
## Type: ColorSystem | |
## Valid values: | |
## - rgb: Interpolate in the RGB color system. | |
## - hsv: Interpolate in the HSV color system. | |
## - hsl: Interpolate in the HSL color system. | |
## - none: Don't show a gradient. | |
# c.colors.downloads.system.bg = 'rgb' | |
## Color gradient interpolation system for download text. | |
## Type: ColorSystem | |
## Valid values: | |
## - rgb: Interpolate in the RGB color system. | |
## - hsv: Interpolate in the HSV color system. | |
## - hsl: Interpolate in the HSL color system. | |
## - none: Don't show a gradient. | |
# c.colors.downloads.system.fg = 'rgb' | |
## Background color for hints. Note that you can use a `rgba(...)` value | |
## for transparency. | |
## Type: QssColor | |
c.colors.hints.bg = solarized['violet'] | |
## Font color for hints. | |
## Type: QssColor | |
c.colors.hints.fg = solarized['base3'] | |
## Font color for the matched part of hints. | |
## Type: QssColor | |
c.colors.hints.match.fg = solarized['base1'] | |
## Background color of the keyhint widget. | |
## Type: QssColor | |
# c.colors.keyhint.bg = 'rgba(0, 0, 0, 80%)' | |
## Text color for the keyhint widget. | |
## Type: QssColor | |
c.colors.keyhint.fg = solarized['base3'] | |
## Highlight color for keys to complete the current keychain. | |
## Type: QssColor | |
c.colors.keyhint.suffix.fg = solarized['yellow'] | |
## Background color of an error message. | |
## Type: QssColor | |
c.colors.messages.error.bg = solarized['red'] | |
## Border color of an error message. | |
## Type: QssColor | |
c.colors.messages.error.border = solarized['red'] | |
## Foreground color of an error message. | |
## Type: QssColor | |
c.colors.messages.error.fg = solarized['base3'] | |
## Background color of an info message. | |
## Type: QssColor | |
c.colors.messages.info.bg = solarized['base03'] | |
## Border color of an info message. | |
## Type: QssColor | |
c.colors.messages.info.border = solarized['base03'] | |
## Foreground color an info message. | |
## Type: QssColor | |
c.colors.messages.info.fg = solarized['base3'] | |
## Background color of a warning message. | |
## Type: QssColor | |
c.colors.messages.warning.bg = solarized['orange'] | |
## Border color of a warning message. | |
## Type: QssColor | |
c.colors.messages.warning.border = solarized['orange'] | |
## Foreground color a warning message. | |
## Type: QssColor | |
c.colors.messages.warning.fg = solarized['base3'] | |
## Background color for prompts. | |
## Type: QssColor | |
c.colors.prompts.bg = solarized['base02'] | |
## Border used around UI elements in prompts. | |
## Type: String | |
c.colors.prompts.border = '1px solid ' + solarized['base3'] | |
## Foreground color for prompts. | |
## Type: QssColor | |
c.colors.prompts.fg = solarized['base3'] | |
## Background color for the selected item in filename prompts. | |
## Type: QssColor | |
c.colors.prompts.selected.bg = solarized['base01'] | |
## Background color of the statusbar in caret mode. | |
## Type: QssColor | |
c.colors.statusbar.caret.bg = solarized['blue'] | |
## Foreground color of the statusbar in caret mode. | |
## Type: QssColor | |
c.colors.statusbar.caret.fg = solarized['base1'] | |
## Background color of the statusbar in caret mode with a selection. | |
## Type: QssColor | |
c.colors.statusbar.caret.selection.bg = solarized['violet'] | |
## Foreground color of the statusbar in caret mode with a selection. | |
## Type: QssColor | |
c.colors.statusbar.caret.selection.fg = solarized['base1'] | |
## Background color of the statusbar in command mode. | |
## Type: QssColor | |
c.colors.statusbar.command.bg = solarized['base03'] | |
## Foreground color of the statusbar in command mode. | |
## Type: QssColor | |
c.colors.statusbar.command.fg = solarized['base1'] | |
## Background color of the statusbar in private browsing + command mode. | |
## Type: QssColor | |
c.colors.statusbar.command.private.bg = solarized['base01'] | |
## Foreground color of the statusbar in private browsing + command mode. | |
## Type: QssColor | |
c.colors.statusbar.command.private.fg = solarized['base3'] | |
## Background color of the statusbar in insert mode. | |
## Type: QssColor | |
c.colors.statusbar.insert.bg = solarized['base02'] | |
## Foreground color of the statusbar in insert mode. | |
## Type: QssColor | |
c.colors.statusbar.insert.fg = solarized['base1'] | |
## Background color of the statusbar. | |
## Type: QssColor | |
c.colors.statusbar.normal.bg = solarized['base03'] | |
## Foreground color of the statusbar. | |
## Type: QssColor | |
c.colors.statusbar.normal.fg = solarized['base1'] | |
## Background color of the statusbar in passthrough mode. | |
## Type: QssColor | |
c.colors.statusbar.passthrough.bg = solarized['base02'] | |
## Foreground color of the statusbar in passthrough mode. | |
## Type: QssColor | |
c.colors.statusbar.passthrough.fg = solarized['base1'] | |
## Background color of the statusbar in private browsing mode. | |
## Type: QssColor | |
c.colors.statusbar.private.bg = solarized['base01'] | |
## Foreground color of the statusbar in private browsing mode. | |
## Type: QssColor | |
c.colors.statusbar.private.fg = solarized['base3'] | |
## Background color of the progress bar. | |
## Type: QssColor | |
c.colors.statusbar.progress.bg = solarized['base1'] | |
## Foreground color of the URL in the statusbar on error. | |
## Type: QssColor | |
c.colors.statusbar.url.error.fg = solarized['red'] | |
## Default foreground color of the URL in the statusbar. | |
## Type: QssColor | |
c.colors.statusbar.url.fg = solarized['base1'] | |
## Foreground color of the URL in the statusbar for hovered links. | |
## Type: QssColor | |
c.colors.statusbar.url.hover.fg = solarized['base2'] | |
## Foreground color of the URL in the statusbar on successful load | |
## (http). | |
## Type: QssColor | |
c.colors.statusbar.url.success.http.fg = solarized['base1'] | |
## Foreground color of the URL in the statusbar on successful load | |
## (https). | |
## Type: QssColor | |
c.colors.statusbar.url.success.https.fg = solarized['base1'] | |
## Foreground color of the URL in the statusbar when there's a warning. | |
## Type: QssColor | |
c.colors.statusbar.url.warn.fg = solarized['yellow'] | |
## Background color of the tab bar. | |
## Type: QtColor | |
# c.colors.tabs.bar.bg = '#555555' | |
## Background color of unselected even tabs. | |
## Type: QtColor | |
c.colors.tabs.even.bg = solarized['base02'] | |
## Foreground color of unselected even tabs. | |
## Type: QtColor | |
c.colors.tabs.even.fg = solarized['base1'] | |
## Color for the tab indicator on errors. | |
## Type: QtColor | |
c.colors.tabs.indicator.error = solarized['red'] | |
## Color gradient start for the tab indicator. | |
## Type: QtColor | |
c.colors.tabs.indicator.start = solarized['violet'] | |
## Color gradient end for the tab indicator. | |
## Type: QtColor | |
c.colors.tabs.indicator.stop = solarized['orange'] | |
## Color gradient interpolation system for the tab indicator. | |
## Type: ColorSystem | |
## Valid values: | |
## - rgb: Interpolate in the RGB color system. | |
## - hsv: Interpolate in the HSV color system. | |
## - hsl: Interpolate in the HSL color system. | |
## - none: Don't show a gradient. | |
# c.colors.tabs.indicator.system = 'rgb' | |
## Background color of unselected odd tabs. | |
## Type: QtColor | |
c.colors.tabs.odd.bg = solarized['base03'] | |
## Foreground color of unselected odd tabs. | |
## Type: QtColor | |
c.colors.tabs.odd.fg = solarized['base1'] | |
## Background color of selected even tabs. | |
## Type: QtColor | |
c.colors.tabs.selected.even.bg = solarized['violet'] | |
## Foreground color of selected even tabs. | |
## Type: QtColor | |
c.colors.tabs.selected.even.fg = solarized['base2'] | |
## Background color of selected odd tabs. | |
## Type: QtColor | |
c.colors.tabs.selected.odd.bg = solarized['violet'] | |
## Foreground color of selected odd tabs. | |
## Type: QtColor | |
c.colors.tabs.selected.odd.fg = solarized['base2'] | |
## Background color for webpages if unset (or empty to use the theme's | |
## color) | |
## Type: QtColor | |
# c.colors.webpage.bg = 'white' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment