qutebrowser
This commit is contained in:
parent
2bfd597717
commit
34f302ed80
|
@ -0,0 +1,307 @@
|
|||
# credits to theova/base16-qutebrowser for the original template
|
||||
|
||||
##########
|
||||
# COLORS #
|
||||
##########
|
||||
|
||||
# base16 colors but with variable names that
|
||||
# reflect what the color is mainly used for
|
||||
|
||||
bg_default = "#270e05" # black alt
|
||||
bg_lighter = "#361f24" # black
|
||||
bg_selection = "#97aee4" # light blue alt
|
||||
fg_disabled = "#654d8d" # purple alt
|
||||
fg_selection = "#ffffff" # white alt
|
||||
fg_default = "#fef9cd" # white
|
||||
bg_lightest = "#94b5ea" # light blue
|
||||
fg_error = "#832f01" # red
|
||||
bg_hint = "#7c6a8e" # purple
|
||||
fg_matched_text = "#ffde6e" # yellow
|
||||
bg_passthrough_mode = "#832f01" # red
|
||||
bg_insert_mode = "#6b789b" # blue
|
||||
bg_warning = "#7c6a8e" # purple
|
||||
|
||||
############
|
||||
# SETTINGS #
|
||||
############
|
||||
|
||||
# Text color of the completion widget. May be a single color to use for
|
||||
# all columns or a list of three colors, one for each column.
|
||||
c.colors.completion.fg = fg_default
|
||||
|
||||
# Background color of the completion widget for odd rows.
|
||||
c.colors.completion.odd.bg = bg_lighter
|
||||
|
||||
# Background color of the completion widget for even rows.
|
||||
c.colors.completion.even.bg = bg_default
|
||||
|
||||
# Foreground color of completion widget category headers.
|
||||
c.colors.completion.category.fg = bg_hint
|
||||
|
||||
# Background color of the completion widget category headers.
|
||||
c.colors.completion.category.bg = bg_default
|
||||
|
||||
# Top border color of the completion widget category headers.
|
||||
c.colors.completion.category.border.top = bg_default
|
||||
|
||||
# Bottom border color of the completion widget category headers.
|
||||
c.colors.completion.category.border.bottom = bg_default
|
||||
|
||||
# Foreground color of the selected completion item.
|
||||
c.colors.completion.item.selected.fg = fg_selection
|
||||
|
||||
# Background color of the selected completion item.
|
||||
c.colors.completion.item.selected.bg = bg_selection
|
||||
|
||||
# Top border color of the selected completion item.
|
||||
c.colors.completion.item.selected.border.top = bg_selection
|
||||
|
||||
# Bottom border color of the selected completion item.
|
||||
c.colors.completion.item.selected.border.bottom = bg_selection
|
||||
|
||||
# Foreground color of the matched text in the selected completion item.
|
||||
c.colors.completion.item.selected.match.fg = fg_matched_text
|
||||
|
||||
# Foreground color of the matched text in the completion.
|
||||
c.colors.completion.match.fg = fg_matched_text
|
||||
|
||||
# Color of the scrollbar handle in the completion view.
|
||||
c.colors.completion.scrollbar.fg = fg_default
|
||||
|
||||
# Color of the scrollbar in the completion view.
|
||||
c.colors.completion.scrollbar.bg = bg_default
|
||||
|
||||
# Background color of disabled items in the context menu.
|
||||
c.colors.contextmenu.disabled.bg = bg_lighter
|
||||
|
||||
# Foreground color of disabled items in the context menu.
|
||||
c.colors.contextmenu.disabled.fg = fg_disabled
|
||||
|
||||
# Background color of the context menu. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.menu.bg = bg_default
|
||||
|
||||
# Foreground color of the context menu. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.menu.fg = fg_default
|
||||
|
||||
# Background color of the context menu’s selected item. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.selected.bg = bg_selection
|
||||
|
||||
# Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.selected.fg = fg_selection
|
||||
|
||||
# Background color for the download bar.
|
||||
c.colors.downloads.bar.bg = bg_default
|
||||
|
||||
# Color gradient start for download text.
|
||||
c.colors.downloads.start.fg = bg_default
|
||||
|
||||
# Color gradient start for download backgrounds.
|
||||
c.colors.downloads.start.bg = bg_insert_mode
|
||||
|
||||
# Color gradient end for download text.
|
||||
c.colors.downloads.stop.fg = bg_default
|
||||
|
||||
# Color gradient stop for download backgrounds.
|
||||
c.colors.downloads.stop.bg = bg_passthrough_mode
|
||||
|
||||
# Foreground color for downloads with errors.
|
||||
c.colors.downloads.error.fg = fg_error
|
||||
|
||||
# Font color for hints.
|
||||
c.colors.hints.fg = bg_default
|
||||
|
||||
# Border color for hints
|
||||
c.hints.border = "1px solid " + fg_disabled
|
||||
|
||||
# Background color for hints. Note that you can use a `rgba(...)` value
|
||||
# for transparency.
|
||||
c.colors.hints.bg = bg_hint
|
||||
|
||||
# Font color for the matched part of hints.
|
||||
c.colors.hints.match.fg = fg_default
|
||||
|
||||
# Text color for the keyhint widget.
|
||||
c.colors.keyhint.fg = fg_default
|
||||
|
||||
# Highlight color for keys to complete the current keychain.
|
||||
c.colors.keyhint.suffix.fg = fg_default
|
||||
|
||||
# Background color of the keyhint widget.
|
||||
c.colors.keyhint.bg = bg_default
|
||||
|
||||
# Foreground color of an error message.
|
||||
c.colors.messages.error.fg = bg_default
|
||||
|
||||
# Background color of an error message.
|
||||
c.colors.messages.error.bg = fg_error
|
||||
|
||||
# Border color of an error message.
|
||||
c.colors.messages.error.border = fg_error
|
||||
|
||||
# Foreground color of a warning message.
|
||||
c.colors.messages.warning.fg = bg_default
|
||||
|
||||
# Background color of a warning message.
|
||||
c.colors.messages.warning.bg = bg_warning
|
||||
|
||||
# Border color of a warning message.
|
||||
c.colors.messages.warning.border = bg_warning
|
||||
|
||||
# Foreground color of an info message.
|
||||
c.colors.messages.info.fg = fg_default
|
||||
|
||||
# Background color of an info message.
|
||||
c.colors.messages.info.bg = bg_default
|
||||
|
||||
# Border color of an info message.
|
||||
c.colors.messages.info.border = bg_default
|
||||
|
||||
# Foreground color for prompts.
|
||||
c.colors.prompts.fg = fg_default
|
||||
|
||||
# Border used around UI elements in prompts.
|
||||
c.colors.prompts.border = bg_default
|
||||
|
||||
# Background color for prompts.
|
||||
c.colors.prompts.bg = bg_default
|
||||
|
||||
# Background color for the selected item in filename prompts.
|
||||
c.colors.prompts.selected.bg = bg_selection
|
||||
|
||||
# Foreground color for the selected item in filename prompts.
|
||||
c.colors.prompts.selected.fg = fg_selection
|
||||
|
||||
# Foreground color of the statusbar.
|
||||
c.colors.statusbar.normal.fg = fg_default
|
||||
|
||||
# Background color of the statusbar.
|
||||
c.colors.statusbar.normal.bg = bg_default
|
||||
|
||||
# Foreground color of the statusbar in insert mode.
|
||||
c.colors.statusbar.insert.fg = bg_lighter
|
||||
|
||||
# Background color of the statusbar in insert mode.
|
||||
c.colors.statusbar.insert.bg = bg_insert_mode
|
||||
|
||||
# Foreground color of the statusbar in passthrough mode.
|
||||
c.colors.statusbar.passthrough.fg = bg_lighter
|
||||
|
||||
# Background color of the statusbar in passthrough mode.
|
||||
c.colors.statusbar.passthrough.bg = bg_passthrough_mode
|
||||
|
||||
# Foreground color of the statusbar in private browsing mode.
|
||||
c.colors.statusbar.private.fg = bg_default
|
||||
|
||||
# Background color of the statusbar in private browsing mode.
|
||||
c.colors.statusbar.private.bg = bg_lighter
|
||||
|
||||
# Foreground color of the statusbar in command mode.
|
||||
c.colors.statusbar.command.fg = fg_selection
|
||||
|
||||
# Background color of the statusbar in command mode.
|
||||
c.colors.statusbar.command.bg = bg_default
|
||||
|
||||
# Foreground color of the statusbar in private browsing + command mode.
|
||||
c.colors.statusbar.command.private.fg = fg_default
|
||||
|
||||
# Background color of the statusbar in private browsing + command mode.
|
||||
c.colors.statusbar.command.private.bg = bg_default
|
||||
|
||||
# Foreground color of the statusbar in caret mode.
|
||||
c.colors.statusbar.caret.fg = bg_lighter
|
||||
|
||||
# Background color of the statusbar in caret mode.
|
||||
c.colors.statusbar.caret.bg = bg_warning
|
||||
|
||||
# Foreground color of the statusbar in caret mode with a selection.
|
||||
c.colors.statusbar.caret.selection.fg = bg_lighter
|
||||
|
||||
# Background color of the statusbar in caret mode with a selection.
|
||||
c.colors.statusbar.caret.selection.bg = bg_warning
|
||||
|
||||
# Background color of the progress bar.
|
||||
c.colors.statusbar.progress.bg = bg_insert_mode
|
||||
|
||||
# Default foreground color of the URL in the statusbar.
|
||||
c.colors.statusbar.url.fg = fg_default
|
||||
|
||||
# Foreground color of the URL in the statusbar on error.
|
||||
c.colors.statusbar.url.error.fg = fg_error
|
||||
|
||||
# Foreground color of the URL in the statusbar for hovered links.
|
||||
c.colors.statusbar.url.hover.fg = fg_default
|
||||
|
||||
# Foreground color of the URL in the statusbar on successful load
|
||||
# (http).
|
||||
c.colors.statusbar.url.success.http.fg = bg_insert_mode
|
||||
|
||||
# Foreground color of the URL in the statusbar on successful load
|
||||
# (https).
|
||||
c.colors.statusbar.url.success.https.fg = fg_matched_text
|
||||
|
||||
# Foreground color of the URL in the statusbar when there's a warning.
|
||||
c.colors.statusbar.url.warn.fg = bg_warning
|
||||
|
||||
# Background color of the tab bar.
|
||||
c.colors.tabs.bar.bg = bg_default
|
||||
|
||||
# Color gradient start for the tab indicator.
|
||||
c.colors.tabs.indicator.start = fg_disabled
|
||||
|
||||
# Color gradient end for the tab indicator.
|
||||
c.colors.tabs.indicator.stop = bg_insert_mode
|
||||
|
||||
# Color for the tab indicator on errors.
|
||||
c.colors.tabs.indicator.error = fg_error
|
||||
|
||||
# Foreground color of unselected odd tabs.
|
||||
c.colors.tabs.odd.fg = fg_default
|
||||
|
||||
# Background color of unselected odd tabs.
|
||||
c.colors.tabs.odd.bg = bg_lighter
|
||||
|
||||
# Foreground color of unselected even tabs.
|
||||
c.colors.tabs.even.fg = fg_default
|
||||
|
||||
# Background color of unselected even tabs.
|
||||
c.colors.tabs.even.bg = bg_default
|
||||
|
||||
# Background color of pinned unselected even tabs.
|
||||
c.colors.tabs.pinned.even.bg = bg_insert_mode
|
||||
|
||||
# Foreground color of pinned unselected even tabs.
|
||||
c.colors.tabs.pinned.even.fg = bg_lightest
|
||||
|
||||
# Background color of pinned unselected odd tabs.
|
||||
c.colors.tabs.pinned.odd.bg = fg_matched_text
|
||||
|
||||
# Foreground color of pinned unselected odd tabs.
|
||||
c.colors.tabs.pinned.odd.fg = bg_lightest
|
||||
|
||||
# Background color of pinned selected even tabs.
|
||||
c.colors.tabs.pinned.selected.even.bg = bg_selection
|
||||
|
||||
# Foreground color of pinned selected even tabs.
|
||||
c.colors.tabs.pinned.selected.even.fg = fg_selection
|
||||
|
||||
# Background color of pinned selected odd tabs.
|
||||
c.colors.tabs.pinned.selected.odd.bg = bg_selection
|
||||
|
||||
# Foreground color of pinned selected odd tabs.
|
||||
c.colors.tabs.pinned.selected.odd.fg = fg_selection
|
||||
|
||||
# Foreground color of selected odd tabs.
|
||||
c.colors.tabs.selected.odd.fg = fg_selection
|
||||
|
||||
# Background color of selected odd tabs.
|
||||
c.colors.tabs.selected.odd.bg = bg_selection
|
||||
|
||||
# Foreground color of selected even tabs.
|
||||
c.colors.tabs.selected.even.fg = fg_selection
|
||||
|
||||
# Background color of selected even tabs.
|
||||
c.colors.tabs.selected.even.bg = bg_selection
|
||||
|
||||
# Background color for webpages if unset (or empty to use the theme's
|
||||
# color).
|
||||
# c.colors.webpage.bg = bg_lighter
|
|
@ -0,0 +1,103 @@
|
|||
# Autoload Config #
|
||||
config.load_autoconfig()
|
||||
|
||||
# Libraries
|
||||
import os
|
||||
from urllib.request import urlopen
|
||||
|
||||
# Session #
|
||||
c.auto_save.session = True
|
||||
|
||||
# Search #
|
||||
c.url.searchengines = {
|
||||
'DEFAULT': 'https://paulgo.io/search?q={}',
|
||||
'!i': 'https://yewtu.be/search?q={}',
|
||||
'!a': 'https://www.amazon.com/s?k={}',
|
||||
'!d': 'https://duckduckgo.com/?ia=web&q={}',
|
||||
'!dd': 'https://thefreedictionary.com/{}',
|
||||
'!e': 'https://www.ebay.com/sch/i.html?_nkw={}',
|
||||
'!gh': 'https://github.com/search?o=desc&q={}&s=stars',
|
||||
'!gist': 'https://gist.github.com/search?q={}',
|
||||
'!m': 'https://www.google.com/maps/search/{}',
|
||||
'!p': 'https://pry.sh/{}',
|
||||
'!r': 'https://www.reddit.com/search?q={}',
|
||||
'!t': 'https://www.thesaurus.com/browse/{}'
|
||||
}
|
||||
|
||||
c.url.start_pages = ['https://paulgo.io/']
|
||||
config.set('url.default_page', 'https://paulgo.io/')
|
||||
|
||||
# Binds #
|
||||
config.bind('J', 'tab-prev')
|
||||
config.bind('K', 'tab-next')
|
||||
|
||||
config.bind('1', 'tab-focus 1')
|
||||
config.bind('2', 'tab-focus 2')
|
||||
config.bind('3', 'tab-focus 3')
|
||||
config.bind('4', 'tab-focus 4')
|
||||
config.bind('5', 'tab-focus 5')
|
||||
config.bind('6', 'tab-focus 6')
|
||||
config.bind('7', 'tab-focus 7')
|
||||
config.bind('8', 'tab-focus 8')
|
||||
config.bind('9', 'tab-focus 9')
|
||||
config.bind('0', 'tab-focus 10')
|
||||
config.bind('!', 'tab-focus 11')
|
||||
config.bind('@', 'tab-focus 12')
|
||||
config.bind('#', 'tab-focus 13')
|
||||
config.bind('$', 'tab-focus 14')
|
||||
config.bind('%', 'tab-focus 15')
|
||||
config.bind('^', 'tab-focus 16')
|
||||
config.bind('&', 'tab-focus 17')
|
||||
config.bind('*', 'tab-focus 18')
|
||||
config.bind('(', 'tab-focus 19')
|
||||
config.bind(')', 'tab-focus -1')
|
||||
|
||||
config.unbind('<Ctrl-T>')
|
||||
|
||||
# Dvorak binds
|
||||
config.unbind('H')
|
||||
config.unbind('T')
|
||||
|
||||
config.unbind('D')
|
||||
config.unbind('N')
|
||||
|
||||
config.unbind('l')
|
||||
config.unbind('L')
|
||||
|
||||
config.unbind('k')
|
||||
config.unbind('K')
|
||||
|
||||
config.unbind('h')
|
||||
config.unbind('d')
|
||||
config.unbind('n')
|
||||
|
||||
c.hints.chars = "aoeuidhtn"
|
||||
|
||||
config.bind('T', 'tab-prev')
|
||||
config.bind('H', 'tab-next')
|
||||
|
||||
config.bind('D', 'back')
|
||||
config.bind('N', 'forward')
|
||||
|
||||
config.bind('l', 'search-next')
|
||||
config.bind('L', 'search-prev')
|
||||
|
||||
config.bind('k', 'tab-close')
|
||||
config.bind('K', 'tab-close -o')
|
||||
|
||||
config.bind('h', 'scroll down')
|
||||
config.bind('t', 'scroll up')
|
||||
config.bind('d', 'scroll left')
|
||||
config.bind('n', 'scroll right')
|
||||
|
||||
# Theme #
|
||||
|
||||
if not os.path.exists(config.configdir / "theme.py"):
|
||||
theme = "https://raw.githubusercontent.com/catppuccin/qutebrowser/main/setup.py"
|
||||
with urlopen(theme) as themehtml:
|
||||
with open(config.configdir / "theme.py", "a") as file:
|
||||
file.writelines(themehtml.read().decode("utf-8"))
|
||||
|
||||
if os.path.exists(config.configdir / "theme.py"):
|
||||
import theme
|
||||
theme.setup(c, 'macchiato', True)
|
|
@ -0,0 +1,350 @@
|
|||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
|
||||
def setup(c, flavour, samecolorrows = False):
|
||||
palette = {}
|
||||
|
||||
# flavours {{{
|
||||
if flavour == "latte":
|
||||
palette = {
|
||||
"rosewater": "#dc8a78",
|
||||
"flamingo": "#dd7878",
|
||||
"pink": "#ea76cb",
|
||||
"mauve": "#8839ef",
|
||||
"red": "#d20f39",
|
||||
"maroon": "#e64553",
|
||||
"peach": "#fe640b",
|
||||
"yellow": "#df8e1d",
|
||||
"green": "#40a02b",
|
||||
"teal": "#179299",
|
||||
"sky": "#04a5e5",
|
||||
"sapphire": "#209fb5",
|
||||
"blue": "#1e66f5",
|
||||
"lavender": "#7287fd",
|
||||
"text": "#4c4f69",
|
||||
"subtext1": "#5c5f77",
|
||||
"subtext0": "#6c6f85",
|
||||
"overlay2": "#7c7f93",
|
||||
"overlay1": "#8c8fa1",
|
||||
"overlay0": "#9ca0b0",
|
||||
"surface2": "#acb0be",
|
||||
"surface1": "#bcc0cc",
|
||||
"surface0": "#ccd0da",
|
||||
"base": "#eff1f5",
|
||||
"mantle": "#e6e9ef",
|
||||
"crust": "#dce0e8",
|
||||
}
|
||||
elif flavour == "frappe":
|
||||
palette = {
|
||||
"rosewater": "#f2d5cf",
|
||||
"flamingo": "#eebebe",
|
||||
"pink": "#f4b8e4",
|
||||
"mauve": "#ca9ee6",
|
||||
"red": "#e78284",
|
||||
"maroon": "#ea999c",
|
||||
"peach": "#ef9f76",
|
||||
"yellow": "#e5c890",
|
||||
"green": "#a6d189",
|
||||
"teal": "#81c8be",
|
||||
"sky": "#99d1db",
|
||||
"sapphire": "#85c1dc",
|
||||
"blue": "#8caaee",
|
||||
"lavender": "#babbf1",
|
||||
"text": "#c6d0f5",
|
||||
"subtext1": "#b5bfe2",
|
||||
"subtext0": "#a5adce",
|
||||
"overlay2": "#949cbb",
|
||||
"overlay1": "#838ba7",
|
||||
"overlay0": "#737994",
|
||||
"surface2": "#626880",
|
||||
"surface1": "#51576d",
|
||||
"surface0": "#414559",
|
||||
"base": "#303446",
|
||||
"mantle": "#292c3c",
|
||||
"crust": "#232634",
|
||||
}
|
||||
elif flavour == "macchiato":
|
||||
palette = {
|
||||
"rosewater": "#f4dbd6",
|
||||
"flamingo": "#f0c6c6",
|
||||
"pink": "#f5bde6",
|
||||
"mauve": "#c6a0f6",
|
||||
"red": "#ed8796",
|
||||
"maroon": "#ee99a0",
|
||||
"peach": "#f5a97f",
|
||||
"yellow": "#eed49f",
|
||||
"green": "#a6da95",
|
||||
"teal": "#8bd5ca",
|
||||
"sky": "#91d7e3",
|
||||
"sapphire": "#7dc4e4",
|
||||
"blue": "#8aadf4",
|
||||
"lavender": "#b7bdf8",
|
||||
"text": "#cad3f5",
|
||||
"subtext1": "#b8c0e0",
|
||||
"subtext0": "#a5adcb",
|
||||
"overlay2": "#939ab7",
|
||||
"overlay1": "#8087a2",
|
||||
"overlay0": "#6e738d",
|
||||
"surface2": "#5b6078",
|
||||
"surface1": "#494d64",
|
||||
"surface0": "#363a4f",
|
||||
"base": "#24273a",
|
||||
"mantle": "#1e2030",
|
||||
"crust": "#181926",
|
||||
}
|
||||
else:
|
||||
palette = {
|
||||
"rosewater": "#f5e0dc",
|
||||
"flamingo": "#f2cdcd",
|
||||
"pink": "#f5c2e7",
|
||||
"mauve": "#cba6f7",
|
||||
"red": "#f38ba8",
|
||||
"maroon": "#eba0ac",
|
||||
"peach": "#fab387",
|
||||
"yellow": "#f9e2af",
|
||||
"green": "#a6e3a1",
|
||||
"teal": "#94e2d5",
|
||||
"sky": "#89dceb",
|
||||
"sapphire": "#74c7ec",
|
||||
"blue": "#89b4fa",
|
||||
"lavender": "#b4befe",
|
||||
"text": "#cdd6f4",
|
||||
"subtext1": "#bac2de",
|
||||
"subtext0": "#a6adc8",
|
||||
"overlay2": "#9399b2",
|
||||
"overlay1": "#7f849c",
|
||||
"overlay0": "#6c7086",
|
||||
"surface2": "#585b70",
|
||||
"surface1": "#45475a",
|
||||
"surface0": "#313244",
|
||||
"base": "#1e1e2e",
|
||||
"mantle": "#181825",
|
||||
"crust": "#11111b",
|
||||
}
|
||||
# }}}
|
||||
|
||||
# completion {{{
|
||||
## Background color of the completion widget category headers.
|
||||
c.colors.completion.category.bg = palette["base"]
|
||||
## Bottom border color of the completion widget category headers.
|
||||
c.colors.completion.category.border.bottom = palette["mantle"]
|
||||
## Top border color of the completion widget category headers.
|
||||
c.colors.completion.category.border.top = palette["overlay2"]
|
||||
## Foreground color of completion widget category headers.
|
||||
c.colors.completion.category.fg = palette["green"]
|
||||
## Background color of the completion widget for even and odd rows.
|
||||
if samecolorrows:
|
||||
c.colors.completion.even.bg = palette["mantle"]
|
||||
c.colors.completion.odd.bg = c.colors.completion.even.bg
|
||||
else:
|
||||
c.colors.completion.even.bg = palette["mantle"]
|
||||
c.colors.completion.odd.bg = palette["crust"]
|
||||
## Text color of the completion widget.
|
||||
c.colors.completion.fg = palette["subtext0"]
|
||||
|
||||
## Background color of the selected completion item.
|
||||
c.colors.completion.item.selected.bg = palette["surface2"]
|
||||
## Bottom border color of the selected completion item.
|
||||
c.colors.completion.item.selected.border.bottom = palette["surface2"]
|
||||
## Top border color of the completion widget category headers.
|
||||
c.colors.completion.item.selected.border.top = palette["surface2"]
|
||||
## Foreground color of the selected completion item.
|
||||
c.colors.completion.item.selected.fg = palette["text"]
|
||||
## Foreground color of the selected completion item.
|
||||
c.colors.completion.item.selected.match.fg = palette["rosewater"]
|
||||
## Foreground color of the matched text in the completion.
|
||||
c.colors.completion.match.fg = palette["text"]
|
||||
|
||||
## Color of the scrollbar in completion view
|
||||
c.colors.completion.scrollbar.bg = palette["crust"]
|
||||
## Color of the scrollbar handle in completion view.
|
||||
c.colors.completion.scrollbar.fg = palette["surface2"]
|
||||
# }}}
|
||||
|
||||
# downloads {{{
|
||||
c.colors.downloads.bar.bg = palette["base"]
|
||||
c.colors.downloads.error.bg = palette["base"]
|
||||
c.colors.downloads.start.bg = palette["base"]
|
||||
c.colors.downloads.stop.bg = palette["base"]
|
||||
|
||||
c.colors.downloads.error.fg = palette["red"]
|
||||
c.colors.downloads.start.fg = palette["blue"]
|
||||
c.colors.downloads.stop.fg = palette["green"]
|
||||
c.colors.downloads.system.fg = "none"
|
||||
c.colors.downloads.system.bg = "none"
|
||||
# }}}
|
||||
|
||||
# hints {{{
|
||||
## Background color for hints. Note that you can use a `rgba(...)` value
|
||||
## for transparency.
|
||||
c.colors.hints.bg = palette["peach"]
|
||||
|
||||
## Font color for hints.
|
||||
c.colors.hints.fg = palette["mantle"]
|
||||
|
||||
## Hints
|
||||
c.hints.border = "1px solid " + palette["mantle"]
|
||||
|
||||
## Font color for the matched part of hints.
|
||||
c.colors.hints.match.fg = palette["subtext1"]
|
||||
# }}}
|
||||
|
||||
# keyhints {{{
|
||||
## Background color of the keyhint widget.
|
||||
c.colors.keyhint.bg = palette["mantle"]
|
||||
|
||||
## Text color for the keyhint widget.
|
||||
c.colors.keyhint.fg = palette["text"]
|
||||
|
||||
## Highlight color for keys to complete the current keychain.
|
||||
c.colors.keyhint.suffix.fg = palette["subtext1"]
|
||||
# }}}
|
||||
|
||||
# messages {{{
|
||||
## Background color of an error message.
|
||||
c.colors.messages.error.bg = palette["overlay0"]
|
||||
## Background color of an info message.
|
||||
c.colors.messages.info.bg = palette["overlay0"]
|
||||
## Background color of a warning message.
|
||||
c.colors.messages.warning.bg = palette["overlay0"]
|
||||
|
||||
## Border color of an error message.
|
||||
c.colors.messages.error.border = palette["mantle"]
|
||||
## Border color of an info message.
|
||||
c.colors.messages.info.border = palette["mantle"]
|
||||
## Border color of a warning message.
|
||||
c.colors.messages.warning.border = palette["mantle"]
|
||||
|
||||
## Foreground color of an error message.
|
||||
c.colors.messages.error.fg = palette["red"]
|
||||
## Foreground color an info message.
|
||||
c.colors.messages.info.fg = palette["text"]
|
||||
## Foreground color a warning message.
|
||||
c.colors.messages.warning.fg = palette["peach"]
|
||||
# }}}
|
||||
|
||||
# prompts {{{
|
||||
## Background color for prompts.
|
||||
c.colors.prompts.bg = palette["mantle"]
|
||||
|
||||
# ## Border used around UI elements in prompts.
|
||||
c.colors.prompts.border = "1px solid " + palette["overlay0"]
|
||||
|
||||
## Foreground color for prompts.
|
||||
c.colors.prompts.fg = palette["text"]
|
||||
|
||||
## Background color for the selected item in filename prompts.
|
||||
c.colors.prompts.selected.bg = palette["surface2"]
|
||||
|
||||
## Background color for the selected item in filename prompts.
|
||||
c.colors.prompts.selected.fg = palette["rosewater"]
|
||||
# }}}
|
||||
|
||||
# statusbar {{{
|
||||
## Background color of the statusbar.
|
||||
c.colors.statusbar.normal.bg = palette["base"]
|
||||
## Background color of the statusbar in insert mode.
|
||||
c.colors.statusbar.insert.bg = palette["crust"]
|
||||
## Background color of the statusbar in command mode.
|
||||
c.colors.statusbar.command.bg = palette["base"]
|
||||
## Background color of the statusbar in caret mode.
|
||||
c.colors.statusbar.caret.bg = palette["base"]
|
||||
## Background color of the statusbar in caret mode with a selection.
|
||||
c.colors.statusbar.caret.selection.bg = palette["base"]
|
||||
|
||||
## Background color of the progress bar.
|
||||
c.colors.statusbar.progress.bg = palette["base"]
|
||||
## Background color of the statusbar in passthrough mode.
|
||||
c.colors.statusbar.passthrough.bg = palette["base"]
|
||||
|
||||
## Foreground color of the statusbar.
|
||||
c.colors.statusbar.normal.fg = palette["text"]
|
||||
## Foreground color of the statusbar in insert mode.
|
||||
c.colors.statusbar.insert.fg = palette["rosewater"]
|
||||
## Foreground color of the statusbar in command mode.
|
||||
c.colors.statusbar.command.fg = palette["text"]
|
||||
## Foreground color of the statusbar in passthrough mode.
|
||||
c.colors.statusbar.passthrough.fg = palette["peach"]
|
||||
## Foreground color of the statusbar in caret mode.
|
||||
c.colors.statusbar.caret.fg = palette["peach"]
|
||||
## Foreground color of the statusbar in caret mode with a selection.
|
||||
c.colors.statusbar.caret.selection.fg = palette["peach"]
|
||||
|
||||
## Foreground color of the URL in the statusbar on error.
|
||||
c.colors.statusbar.url.error.fg = palette["red"]
|
||||
|
||||
## Default foreground color of the URL in the statusbar.
|
||||
c.colors.statusbar.url.fg = palette["text"]
|
||||
|
||||
## Foreground color of the URL in the statusbar for hovered links.
|
||||
c.colors.statusbar.url.hover.fg = palette["sky"]
|
||||
|
||||
## Foreground color of the URL in the statusbar on successful load
|
||||
c.colors.statusbar.url.success.http.fg = palette["teal"]
|
||||
|
||||
## Foreground color of the URL in the statusbar on successful load
|
||||
c.colors.statusbar.url.success.https.fg = palette["green"]
|
||||
|
||||
## Foreground color of the URL in the statusbar when there's a warning.
|
||||
c.colors.statusbar.url.warn.fg = palette["yellow"]
|
||||
|
||||
## PRIVATE MODE COLORS
|
||||
## Background color of the statusbar in private browsing mode.
|
||||
c.colors.statusbar.private.bg = palette["mantle"]
|
||||
## Foreground color of the statusbar in private browsing mode.
|
||||
c.colors.statusbar.private.fg = palette["subtext1"]
|
||||
## Background color of the statusbar in private browsing + command mode.
|
||||
c.colors.statusbar.command.private.bg = palette["base"]
|
||||
## Foreground color of the statusbar in private browsing + command mode.
|
||||
c.colors.statusbar.command.private.fg = palette["subtext1"]
|
||||
|
||||
# }}}
|
||||
|
||||
# tabs {{{
|
||||
## Background color of the tab bar.
|
||||
c.colors.tabs.bar.bg = palette["crust"]
|
||||
## Background color of unselected even tabs.
|
||||
c.colors.tabs.even.bg = palette["surface2"]
|
||||
## Background color of unselected odd tabs.
|
||||
c.colors.tabs.odd.bg = palette["surface1"]
|
||||
|
||||
## Foreground color of unselected even tabs.
|
||||
c.colors.tabs.even.fg = palette["overlay2"]
|
||||
## Foreground color of unselected odd tabs.
|
||||
c.colors.tabs.odd.fg = palette["overlay2"]
|
||||
|
||||
## Color for the tab indicator on errors.
|
||||
c.colors.tabs.indicator.error = palette["red"]
|
||||
## Color gradient interpolation system for the tab indicator.
|
||||
## 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 = "none"
|
||||
|
||||
# ## Background color of selected even tabs.
|
||||
c.colors.tabs.selected.even.bg = palette["base"]
|
||||
# ## Background color of selected odd tabs.
|
||||
c.colors.tabs.selected.odd.bg = palette["base"]
|
||||
|
||||
# ## Foreground color of selected even tabs.
|
||||
c.colors.tabs.selected.even.fg = palette["text"]
|
||||
# ## Foreground color of selected odd tabs.
|
||||
c.colors.tabs.selected.odd.fg = palette["text"]
|
||||
# }}}
|
||||
|
||||
# context menus {{{
|
||||
c.colors.contextmenu.menu.bg = palette["base"]
|
||||
c.colors.contextmenu.menu.fg = palette["text"]
|
||||
|
||||
c.colors.contextmenu.disabled.bg = palette["mantle"]
|
||||
c.colors.contextmenu.disabled.fg = palette["overlay0"]
|
||||
|
||||
c.colors.contextmenu.selected.bg = palette["overlay0"]
|
||||
c.colors.contextmenu.selected.fg = palette["rosewater"]
|
||||
# }}}
|
||||
|
||||
# background color for webpages {{{
|
||||
c.colors.webpage.bg = palette["base"]
|
||||
# }}}
|
Loading…
Reference in New Issue