feat(desktop): return to qutebrowser?

This commit is contained in:
Pavel Korytov 2024-08-04 15:56:49 +03:00
parent fd11b400ca
commit 11fbb5e66f
4 changed files with 698 additions and 73 deletions

View file

@ -1,10 +1,10 @@
# [[file:../Desktop.org::*MIME][MIME:1]]
[Default Applications]
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
text/html=qutebrowser.desktop
x-scheme-handler/http=qutebrowser.desktop
x-scheme-handler/https=qutebrowser.desktop
x-scheme-handler/about=qutebrowser.desktop
x-scheme-handler/unknown=qutebrowser.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-7PVWF1.desktop
image/png=feh.desktop
image/jpg=feh.desktop

View file

@ -1,19 +1,3 @@
import os
import dracula.draw
from qutebrowser.api import interceptor
def filter_yt(info: interceptor.Request):
"""Block the given request if necessary."""
url = info.request_url
if (url.host() == 'www.youtube.com' and
url.path() == '/get_video_info' and
'&adformat=' in url.query()):
info.block()
interceptor.register(filter_yt)
config.load_autoconfig()
config.unbind('gt', mode='normal')
@ -22,29 +6,6 @@ config.bind('gT', 'tab-prev')
config.bind('gN', 'tab-close')
config.bind('gn', 'tab-clone')
c.fonts.default_size = '10pt'
c.fonts.default_family = 'monospace'
c.fonts.web.size.default_fixed = 13
# config.unbind('T', mode='normal')
# config.bind('T', 'set-cmd-text -s :buffer')
# c.content.javascript.enabled = False
config.bind('\\t', 'set-cmd-text -s :buffer')
config.bind('\\b', 'set-cmd-text -s :bookmark-load')
config.bind('\\ww', ':open file:///home/pavel/Documents/org-mode/Bookmarks/bookmarks.html')
config.bind('\\z1', 'set zoom.default 100 ;; set fonts.default_size 10pt')
config.bind('\\z2', 'set zoom.default 125 ;; set fonts.default_size 12pt')
if c.colors.webpage.darkmode.enabled:
config.bind('\\d', 'set colors.webpage.darkmode.enabled False ;; restart')
else:
config.bind('\\d', 'set colors.webpage.darkmode.enabled True ;; restart')
# config.unbind('<Escape>', mode='insert')
config.bind('<Shift-Escape>', 'fake-key <Escape>', mode='insert')
RUSSIAN = 'йцукенгшщзхъфывапролджэячсмитьбю.'
@ -56,29 +17,327 @@ c.bindings.key_mappings = {
}
c.editor.command = [
'nvim',
'-f',
'emacsclient',
'--socket-name=/run/user/1000/emacs/server',
'{file}',
'-c',
'normal {line}G{column0}l'
]
c.scrolling.bar = 'always'
c.url.searchengines = {
"DEFAULT": "https://duckduckgo.com/?q={}",
"g": "https://www.google.com/search?hl=en&q={}"
"DEFAULT": "https://www.google.com/search?hl=en&q={}",
"g": "https://www.google.com/search?hl=en&q={}",
"p": "https://www.perplexity.ai/search?q={}"
}
c.url.start_pages = ['https://licht.sqrtminusone.xyz']
c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%',
'125%', '133%', '150%', '175%', '200%', '250%', '300%',
'400%', '500%']
if os.uname().nodename == 'pavel-ntk':
c.zoom.default = '133%'
palette = {
'background': "#fff8f0",
# 'background': '#282a36',
'background-alt': "#f6ece8",
# 'background-alt': '#282a36',
'background-attention': "#ff8f88",
# 'background-attention': '#181920',
'border': "#baafba",
# 'border': '#282a36',
'current-line': "#5f5f5f",
# 'current-line': '#44475a',
'selection': "#5f5f5f",
# 'selection': '#44475a',
'foreground': "#222222",
# 'foreground': '#f8f8f2',
'foreground-alt': "#856f4a",
# 'foreground-alt': '#e0e0e0',
'foreground-attention': "#222222",
# 'foreground-attention': '#ffffff',
'comment': "#375cd8",
# 'comment': '#6272a4',
'cyan': "#1f6fbf",
# 'cyan': '#8be9fd',
'green': "#217a3c",
# 'green': '#50fa7b',
'orange': "#8f5a3a",
# 'orange': '#ffb86c',
'pink': "#df8fff",
# 'pink': '#ff79c6',
'purple': "#6052cf",
# 'purple': '#bd93f9',
'red': "#cc3333",
# 'red': '#ff5555',
'yellow': "#8a5d00",
# 'yellow': '#f1fa8c',
'modeline': "#f8cf8f"
}
dracula.draw.blood(c, {
'spacing': {
'vertical': 6,
'horizontal': 8
}
})
spacing = {
'vertical': 5,
'horizontal': 5
}
padding = {
'top': spacing['vertical'],
'right': spacing['horizontal'],
'bottom': spacing['vertical'],
'left': spacing['horizontal']
}
## Background color of the completion widget category headers.
c.colors.completion.category.bg = palette['background']
## Bottom border color of the completion widget category headers.
c.colors.completion.category.border.bottom = palette['border']
## Top border color of the completion widget category headers.
c.colors.completion.category.border.top = palette['border']
## Foreground color of completion widget category headers.
c.colors.completion.category.fg = palette['foreground']
## Background color of the completion widget for even rows.
c.colors.completion.even.bg = palette['background']
## Background color of the completion widget for odd rows.
c.colors.completion.odd.bg = palette['background-alt']
## Text color of the completion widget.
c.colors.completion.fg = palette['foreground']
## Background color of the selected completion item.
c.colors.completion.item.selected.bg = palette['selection']
## Bottom border color of the selected completion item.
c.colors.completion.item.selected.border.bottom = palette['selection']
## Top border color of the completion widget category headers.
c.colors.completion.item.selected.border.top = palette['selection']
## Foreground color of the selected completion item.
c.colors.completion.item.selected.fg = palette['foreground']
## Foreground color of the matched text in the completion.
c.colors.completion.match.fg = palette['orange']
## Color of the scrollbar in completion view
c.colors.completion.scrollbar.bg = palette['background']
## Color of the scrollbar handle in completion view.
c.colors.completion.scrollbar.fg = palette['foreground']
## Background color for the download bar.
c.colors.downloads.bar.bg = palette['background']
## Background color for downloads with errors.
c.colors.downloads.error.bg = palette['background']
## Foreground color for downloads with errors.
c.colors.downloads.error.fg = palette['red']
## Color gradient stop for download backgrounds.
c.colors.downloads.stop.bg = palette['background']
## 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 = 'none'
## Background color for hints. Note that you can use a `rgba(...)` value
## for transparency.
c.colors.hints.bg = palette['background']
## Font color for hints.
c.colors.hints.fg = palette['purple']
## Hints
c.hints.border = '1px solid ' + palette['border']
## Font color for the matched part of hints.
c.colors.hints.match.fg = palette['foreground-alt']
## Background color of the keyhint widget.
c.colors.keyhint.bg = palette['background']
## Text color for the keyhint widget.
c.colors.keyhint.fg = palette['purple']
## Highlight color for keys to complete the current keychain.
c.colors.keyhint.suffix.fg = palette['selection']
## Background color of an error message.
c.colors.messages.error.bg = palette['background']
## Border color of an error message.
c.colors.messages.error.border = palette['background-alt']
## Foreground color of an error message.
c.colors.messages.error.fg = palette['red']
## Background color of an info message.
c.colors.messages.info.bg = palette['background']
## Border color of an info message.
c.colors.messages.info.border = palette['background-alt']
## Foreground color an info message.
c.colors.messages.info.fg = palette['comment']
## Background color of a warning message.
c.colors.messages.warning.bg = palette['background']
## Border color of a warning message.
c.colors.messages.warning.border = palette['background-alt']
## Foreground color a warning message.
c.colors.messages.warning.fg = palette['red']
## Background color for prompts.
c.colors.prompts.bg = palette['background']
# ## Border used around UI elements in prompts.
c.colors.prompts.border = '1px solid ' + palette['background-alt']
## Foreground color for prompts.
c.colors.prompts.fg = palette['cyan']
## Background color for the selected item in filename prompts.
c.colors.prompts.selected.bg = palette['selection']
## Background color of the statusbar in caret mode.
c.colors.statusbar.caret.bg = palette['background']
## Foreground color of the statusbar in caret mode.
c.colors.statusbar.caret.fg = palette['orange']
## Background color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.bg = palette['background']
## Foreground color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.fg = palette['orange']
## Background color of the statusbar in command mode.
c.colors.statusbar.command.bg = palette['background']
## Foreground color of the statusbar in command mode.
c.colors.statusbar.command.fg = palette['purple']
## Background color of the statusbar in private browsing + command mode.
c.colors.statusbar.command.private.bg = palette['background']
## Foreground color of the statusbar in private browsing + command mode.
c.colors.statusbar.command.private.fg = palette['foreground-alt']
## Background color of the statusbar in insert mode.
c.colors.statusbar.insert.bg = palette['background-attention']
## Foreground color of the statusbar in insert mode.
c.colors.statusbar.insert.fg = palette['foreground-attention']
## Background color of the statusbar.
c.colors.statusbar.normal.bg = palette['modeline']
## Foreground color of the statusbar.
c.colors.statusbar.normal.fg = palette['foreground']
## Background color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.bg = palette['background']
## Foreground color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.fg = palette['orange']
## Background color of the statusbar in private browsing mode.
c.colors.statusbar.private.bg = palette['background-alt']
## Foreground color of the statusbar in private browsing mode.
c.colors.statusbar.private.fg = palette['foreground-alt']
## Background color of the progress bar.
c.colors.statusbar.progress.bg = palette['background']
## 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['foreground']
## Foreground color of the URL in the statusbar for hovered links.
c.colors.statusbar.url.hover.fg = palette['cyan']
## Foreground color of the URL in the statusbar on successful load
c.colors.statusbar.url.success.http.fg = palette['foreground']
## Foreground color of the URL in the statusbar on successful load
c.colors.statusbar.url.success.https.fg = palette['foreground']
## Foreground color of the URL in the statusbar when there's a warning.
c.colors.statusbar.url.warn.fg = palette['purple']
## Status bar padding
c.statusbar.padding = padding
## Background color of the tab bar.
## Type: QtColor
c.colors.tabs.bar.bg = palette['background']
## Background color of unselected even tabs.
## Type: QtColor
c.colors.tabs.even.bg = palette['background']
## Foreground color of unselected even tabs.
## Type: QtColor
c.colors.tabs.even.fg = palette['foreground']
## Color for the tab indicator on errors.
## Type: QtColor
c.colors.tabs.indicator.error = palette['red']
## Color gradient start for the tab indicator.
## Type: QtColor
c.colors.tabs.indicator.start = palette['orange']
## Color gradient end for the tab indicator.
## Type: QtColor
c.colors.tabs.indicator.stop = palette['green']
## 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 = 'none'
## Background color of unselected odd tabs.
## Type: QtColor
c.colors.tabs.odd.bg = palette['background']
## Foreground color of unselected odd tabs.
## Type: QtColor
c.colors.tabs.odd.fg = palette['foreground']
# ## Background color of selected even tabs.
# ## Type: QtColor
c.colors.tabs.selected.even.bg = palette['modeline']
# ## Foreground color of selected even tabs.
# ## Type: QtColor
c.colors.tabs.selected.even.fg = palette['foreground']
# ## Background color of selected odd tabs.
# ## Type: QtColor
c.colors.tabs.selected.odd.bg = palette['modeline']
# ## Foreground color of selected odd tabs.
# ## Type: QtColor
c.colors.tabs.selected.odd.fg = palette['foreground']
## Tab padding
c.tabs.padding = padding
c.tabs.indicator.width = 1
c.tabs.favicons.scale = 1

View file

@ -367,13 +367,13 @@ DIR is either 'left or 'right."
"
^Apps^
_t_: Terminal (Alacritty)
_b_: Browser (Firefox)
_b_: Browser (qutebrowser)
_s_: Rocket.Chat
_e_: Telegram
_d_: Discord
"
("t" (lambda () (interactive) (my/run-in-background "alacritty")))
("b" (lambda () (interactive) (my/run-in-background "firefox")))
("b" (lambda () (interactive) (my/run-in-background "qutebrowser")))
("s" (lambda () (interactive) (my/run-in-background "flatpak run chat.rocket.RocketChat")))
("e" (lambda () (interactive) (my/run-in-background "telegram-desktop")))
("d" (lambda () (interactive) (my/run-in-background "flatpak run com.discordapp.Discord"))))

View file

@ -168,11 +168,11 @@ Xft/HintStyle "hintnone"
Setting the default MIME types
#+begin_src conf-unix :tangle ~/.config/mimeapps.list
[Default Applications]
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
text/html=qutebrowser.desktop
x-scheme-handler/http=qutebrowser.desktop
x-scheme-handler/https=qutebrowser.desktop
x-scheme-handler/about=qutebrowser.desktop
x-scheme-handler/unknown=qutebrowser.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-7PVWF1.desktop
image/png=feh.desktop
image/jpg=feh.desktop
@ -950,13 +950,13 @@ A +transient+ hydra for shortcuts for the most frequent apps.
"
^Apps^
_t_: Terminal (Alacritty)
_b_: Browser (Firefox)
_b_: Browser (qutebrowser)
_s_: Rocket.Chat
_e_: Telegram
_d_: Discord
"
("t" (lambda () (interactive) (my/run-in-background "alacritty")))
("b" (lambda () (interactive) (my/run-in-background "firefox")))
("b" (lambda () (interactive) (my/run-in-background "qutebrowser")))
("s" (lambda () (interactive) (my/run-in-background "flatpak run chat.rocket.RocketChat")))
("e" (lambda () (interactive) (my/run-in-background "telegram-desktop")))
("d" (lambda () (interactive) (my/run-in-background "flatpak run com.discordapp.Discord"))))
@ -3527,12 +3527,7 @@ Which I then can use to create the URL.
(defun my/firefox-get-json ()
(let ((toolbar-color
(my/color-value-rgb
(or
(my/color-value 'bg-mode-line-active)
(my/color-value 'bg-mode-line)
(if (my/light-p)
(ct-edit-hsl-l-dec (my/color-value 'bg-alt) 10)
(ct-edit-hsl-l-inc (my/color-value 'bg-alt) 15)))))
'modeline))
(text-color
(my/color-value-rgb
(if (my/light-p) 'fg 'yellow))))
@ -3780,6 +3775,377 @@ set notification-error-fg <<get-fg-for-color(name="red", quote=1)>>
set notification-warning-bg <<get-color(name="yellow", quote=1)>>
set notification-warning-fg <<get-fg-for-color(name="yellow", quote=1)>>
#+end_src
* qutebrowser
:PROPERTIES:
:header-args+: :tangle ./.config/qutebrowser/config.py
:END:
Let's try it again?
** Various settings
Load autoconfig:
#+begin_src python
config.load_autoconfig()
#+end_src
Keybindings:
#+begin_src python
config.unbind('gt', mode='normal')
config.bind('gt', 'tab-next')
config.bind('gT', 'tab-prev')
config.bind('gN', 'tab-close')
config.bind('gn', 'tab-clone')
config.bind('<Shift-Escape>', 'fake-key <Escape>', mode='insert')
#+end_src
I don't remember what this is doing, but it was in my config from 4 years ago:
#+begin_src python
RUSSIAN = 'йцукенгшщзхъфывапролджэячсмитьбю.'
ENGLISH = 'qwertyuiop[]asdfghjkl;\'zxcvbnm,./'
c.bindings.key_mappings = {
**{r: e for r, e in zip(RUSSIAN, ENGLISH)},
**{r.upper(): e.upper() for r, e in zip(RUSSIAN, ENGLISH)}
}
#+end_src
Emacs as editor:
#+begin_src python
c.editor.command = [
'emacsclient',
'--socket-name=/run/user/1000/emacs/server',
'{file}',
]
#+end_src
Various configs:
#+begin_src python
c.scrolling.bar = 'always'
c.url.searchengines = {
"DEFAULT": "https://www.google.com/search?hl=en&q={}",
"g": "https://www.google.com/search?hl=en&q={}",
"p": "https://www.perplexity.ai/search?q={}"
}
c.url.start_pages = ['https://licht.sqrtminusone.xyz']
c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%',
'125%', '133%', '150%', '175%', '200%', '250%', '300%',
'400%', '500%']
#+end_src
** Theme
Taken from the dracula theme from [[https://github.com/dracula/qutebrowser/blob/master/draw.py][qutebrowser]].
#+begin_src python :noweb yes
palette = {
'background': <<get-color(name="bg", quote=1)>>,
# 'background': '#282a36',
'background-alt': <<get-color(name="bg-alt", quote=1)>>,
# 'background-alt': '#282a36',
'background-attention': <<get-color(name="light-red", quote=1)>>,
# 'background-attention': '#181920',
'border': <<get-color(name="border", quote=1)>>,
# 'border': '#282a36',
'current-line': <<get-color(name="grey", quote=1)>>,
# 'current-line': '#44475a',
'selection': <<get-color(name="grey", quote=1)>>,
# 'selection': '#44475a',
'foreground': <<get-color(name="fg", quote=1)>>,
# 'foreground': '#f8f8f2',
'foreground-alt': <<get-color(name="fg-alt", quote=1)>>,
# 'foreground-alt': '#e0e0e0',
'foreground-attention': <<get-color(name="fg", quote=1)>>,
# 'foreground-attention': '#ffffff',
'comment': <<get-color(name="blue", quote=1)>>,
# 'comment': '#6272a4',
'cyan': <<get-color(name="cyan", quote=1)>>,
# 'cyan': '#8be9fd',
'green': <<get-color(name="green", quote=1)>>,
# 'green': '#50fa7b',
'orange': <<get-color(name="dark-yellow", quote=1)>>,
# 'orange': '#ffb86c',
'pink': <<get-color(name="light-magenta", quote=1)>>,
# 'pink': '#ff79c6',
'purple': <<get-color(name="dark-magenta", quote=1)>>,
# 'purple': '#bd93f9',
'red': <<get-color(name="red", quote=1)>>,
# 'red': '#ff5555',
'yellow': <<get-color(name="yellow", quote=1)>>,
# 'yellow': '#f1fa8c',
'modeline': <<get-color(name="modeline", quote=1)>>
}
spacing = {
'vertical': 5,
'horizontal': 5
}
padding = {
'top': spacing['vertical'],
'right': spacing['horizontal'],
'bottom': spacing['vertical'],
'left': spacing['horizontal']
}
## Background color of the completion widget category headers.
c.colors.completion.category.bg = palette['background']
## Bottom border color of the completion widget category headers.
c.colors.completion.category.border.bottom = palette['border']
## Top border color of the completion widget category headers.
c.colors.completion.category.border.top = palette['border']
## Foreground color of completion widget category headers.
c.colors.completion.category.fg = palette['foreground']
## Background color of the completion widget for even rows.
c.colors.completion.even.bg = palette['background']
## Background color of the completion widget for odd rows.
c.colors.completion.odd.bg = palette['background-alt']
## Text color of the completion widget.
c.colors.completion.fg = palette['foreground']
## Background color of the selected completion item.
c.colors.completion.item.selected.bg = palette['selection']
## Bottom border color of the selected completion item.
c.colors.completion.item.selected.border.bottom = palette['selection']
## Top border color of the completion widget category headers.
c.colors.completion.item.selected.border.top = palette['selection']
## Foreground color of the selected completion item.
c.colors.completion.item.selected.fg = palette['foreground']
## Foreground color of the matched text in the completion.
c.colors.completion.match.fg = palette['orange']
## Color of the scrollbar in completion view
c.colors.completion.scrollbar.bg = palette['background']
## Color of the scrollbar handle in completion view.
c.colors.completion.scrollbar.fg = palette['foreground']
## Background color for the download bar.
c.colors.downloads.bar.bg = palette['background']
## Background color for downloads with errors.
c.colors.downloads.error.bg = palette['background']
## Foreground color for downloads with errors.
c.colors.downloads.error.fg = palette['red']
## Color gradient stop for download backgrounds.
c.colors.downloads.stop.bg = palette['background']
## 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 = 'none'
## Background color for hints. Note that you can use a `rgba(...)` value
## for transparency.
c.colors.hints.bg = palette['background']
## Font color for hints.
c.colors.hints.fg = palette['purple']
## Hints
c.hints.border = '1px solid ' + palette['border']
## Font color for the matched part of hints.
c.colors.hints.match.fg = palette['foreground-alt']
## Background color of the keyhint widget.
c.colors.keyhint.bg = palette['background']
## Text color for the keyhint widget.
c.colors.keyhint.fg = palette['purple']
## Highlight color for keys to complete the current keychain.
c.colors.keyhint.suffix.fg = palette['selection']
## Background color of an error message.
c.colors.messages.error.bg = palette['background']
## Border color of an error message.
c.colors.messages.error.border = palette['background-alt']
## Foreground color of an error message.
c.colors.messages.error.fg = palette['red']
## Background color of an info message.
c.colors.messages.info.bg = palette['background']
## Border color of an info message.
c.colors.messages.info.border = palette['background-alt']
## Foreground color an info message.
c.colors.messages.info.fg = palette['comment']
## Background color of a warning message.
c.colors.messages.warning.bg = palette['background']
## Border color of a warning message.
c.colors.messages.warning.border = palette['background-alt']
## Foreground color a warning message.
c.colors.messages.warning.fg = palette['red']
## Background color for prompts.
c.colors.prompts.bg = palette['background']
# ## Border used around UI elements in prompts.
c.colors.prompts.border = '1px solid ' + palette['background-alt']
## Foreground color for prompts.
c.colors.prompts.fg = palette['cyan']
## Background color for the selected item in filename prompts.
c.colors.prompts.selected.bg = palette['selection']
## Background color of the statusbar in caret mode.
c.colors.statusbar.caret.bg = palette['background']
## Foreground color of the statusbar in caret mode.
c.colors.statusbar.caret.fg = palette['orange']
## Background color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.bg = palette['background']
## Foreground color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.fg = palette['orange']
## Background color of the statusbar in command mode.
c.colors.statusbar.command.bg = palette['background']
## Foreground color of the statusbar in command mode.
c.colors.statusbar.command.fg = palette['purple']
## Background color of the statusbar in private browsing + command mode.
c.colors.statusbar.command.private.bg = palette['background']
## Foreground color of the statusbar in private browsing + command mode.
c.colors.statusbar.command.private.fg = palette['foreground-alt']
## Background color of the statusbar in insert mode.
c.colors.statusbar.insert.bg = palette['background-attention']
## Foreground color of the statusbar in insert mode.
c.colors.statusbar.insert.fg = palette['foreground-attention']
## Background color of the statusbar.
c.colors.statusbar.normal.bg = palette['modeline']
## Foreground color of the statusbar.
c.colors.statusbar.normal.fg = palette['foreground']
## Background color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.bg = palette['background']
## Foreground color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.fg = palette['orange']
## Background color of the statusbar in private browsing mode.
c.colors.statusbar.private.bg = palette['background-alt']
## Foreground color of the statusbar in private browsing mode.
c.colors.statusbar.private.fg = palette['foreground-alt']
## Background color of the progress bar.
c.colors.statusbar.progress.bg = palette['background']
## 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['foreground']
## Foreground color of the URL in the statusbar for hovered links.
c.colors.statusbar.url.hover.fg = palette['cyan']
## Foreground color of the URL in the statusbar on successful load
c.colors.statusbar.url.success.http.fg = palette['foreground']
## Foreground color of the URL in the statusbar on successful load
c.colors.statusbar.url.success.https.fg = palette['foreground']
## Foreground color of the URL in the statusbar when there's a warning.
c.colors.statusbar.url.warn.fg = palette['purple']
## Status bar padding
c.statusbar.padding = padding
## Background color of the tab bar.
## Type: QtColor
c.colors.tabs.bar.bg = palette['background']
## Background color of unselected even tabs.
## Type: QtColor
c.colors.tabs.even.bg = palette['background']
## Foreground color of unselected even tabs.
## Type: QtColor
c.colors.tabs.even.fg = palette['foreground']
## Color for the tab indicator on errors.
## Type: QtColor
c.colors.tabs.indicator.error = palette['red']
## Color gradient start for the tab indicator.
## Type: QtColor
c.colors.tabs.indicator.start = palette['orange']
## Color gradient end for the tab indicator.
## Type: QtColor
c.colors.tabs.indicator.stop = palette['green']
## 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 = 'none'
## Background color of unselected odd tabs.
## Type: QtColor
c.colors.tabs.odd.bg = palette['background']
## Foreground color of unselected odd tabs.
## Type: QtColor
c.colors.tabs.odd.fg = palette['foreground']
# ## Background color of selected even tabs.
# ## Type: QtColor
c.colors.tabs.selected.even.bg = palette['modeline']
# ## Foreground color of selected even tabs.
# ## Type: QtColor
c.colors.tabs.selected.even.fg = palette['foreground']
# ## Background color of selected odd tabs.
# ## Type: QtColor
c.colors.tabs.selected.odd.bg = palette['modeline']
# ## Foreground color of selected odd tabs.
# ## Type: QtColor
c.colors.tabs.selected.odd.fg = palette['foreground']
## Tab padding
c.tabs.padding = padding
c.tabs.indicator.width = 1
c.tabs.favicons.scale = 1
#+end_src
* Various software
This section generates manifests for various desktop software that I'm using.