From 7d959248cd5004e7ef29fe353dbbd484857bf2f7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 21 Apr 2021 11:12:34 +0200 Subject: [PATCH] qute: Update bookmark mappings Switch the way bookmarks, quickmarks, and scrollmarks are set in qutebrowser: Bookmarks can be set with `~`, Quickmarks can be set with `\`` (backtick), Scrollmarks can be set with `m`. This essentially changes the `\`` (backtick) and `mM` key functionality, but retains the relative setting of quickmarks/bookmarks being on the same key, just small and capital letter. This has been changed since I more often need to quickly set a scrollmark for a page than a new quick/bookmark, and to also unify the key a little with how vim does it. Most of the 'bookmarklet' little script invocations I have set have been migrated away from `b` pre-mappings to `"` pre-maps: `bw` became `"w` `ba` became `"a` `bg` became `"g` `bG` became `"G` and so on. This makes sense to me as a bigger 'mark' to jump to than a key-chain prefixed with the leader command. Lastly, added a key-binding for the newly addded `qr` userscript in qute, which displays the current url as a qr-code: `"q` --- qutebrowser/.config/qutebrowser/config.py | 255 ++++++------- .../qutebrowser/themes/base16-gruvbox-dark.py | 279 --------------- .../themes/base16-gruvbox-light.py | 279 --------------- .../themes/base16-solarized-dark.py | 248 ------------- .../.config/qutebrowser/themes/nordtheme.py | 336 ------------------ 5 files changed, 136 insertions(+), 1261 deletions(-) delete mode 100644 qutebrowser/.config/qutebrowser/themes/base16-gruvbox-dark.py delete mode 100644 qutebrowser/.config/qutebrowser/themes/base16-gruvbox-light.py delete mode 100644 qutebrowser/.config/qutebrowser/themes/base16-solarized-dark.py delete mode 100644 qutebrowser/.config/qutebrowser/themes/nordtheme.py diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 984a1c0..1078f1f 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -11,10 +11,146 @@ from qutebrowser.config.configfiles import ConfigAPI # noqa: F401 # load additional settings configured via autoconfig.yml config.load_autoconfig() +## CHANGING DEFAULTS +# rebind moving tabs to free for download +config.bind("gG", "tab-give") +# switch binds for scroll-marks and quick-/book-marks +config.bind("m", "mode-enter set_mark") +config.bind("`", "quickmark-save") +config.bind("~", "bookmark-add") + c.completion.web_history.max_items = 1000 c.hints.uppercase = True +c.editor.command = ["alacritty", "-e", "nvim", "-f", "{file}"] + +# LOOK +# ---- + +# Tab-Bar +# have tab bar on the right, not on the top +c.tabs.background = True +c.tabs.title.format = "{index} {audio}{perc}{current_title}" +c.tabs.position = "right" +c.tabs.width = "15%" + +c.colors.webpage.bg = "#555555" + +# FUNCTION +# -------- + +# Prevents *all* tabs from being loaded on restore, only loads on activating them +c.session.lazy_restore = True + +# Binds +# 'Leader' key binding +leader = "" + +# toggles ('cycles') between tabs always showing, or only when switching between them +config.bind( + leader + "tt", + "config-cycle -t tabs.show always switching ;; config-cycle -t statusbar.show in-mode always", +) +config.bind(leader + "th", "set tabs.position bottom") +config.bind(leader + "tH", "set tabs.position top") +config.bind(leader + "tv", "set tabs.position right") +config.bind(leader + "tV", "set tabs.position left") + +# [M]edia shortcuts - watch, queue, download media +# bind mpv to play the current page/links, using a single instance which queues the next link passed +config.bind(leader + "M", "spawn umpv {url}") +config.bind(leader + "m", "hint links spawn umpv {hint-url}") +# bind youtube-dl to download the current page/links +config.bind(leader + "dM", "spawn vidl {url}") +config.bind( + leader + "dm", + "hint --rapid links spawn vidl {hint-url}", +) + +# save current page to pdf file +c.aliases["save_to_pdf"] = "spawn --userscript pagetopdf.sh" +# set to gp, to mirror gd (download) just as go-Pdfdownload +config.bind(leader + "dp", "save_to_pdf", mode="normal") + +# open last download +config.bind("gD", "download-open") + +# Use q for quitting a tab (mimicks vim buffer) - qa is used for exiting +c.aliases["q"] = "tab-close" +# if we save sessions with w, load sessions with e (again, mimicks vim) +c.aliases["e"] = "session-load" + +# bookmarklet aliases: +# Bookmarklets get assigned to ", mirroring the opening of marks, but not interfering +# with scroll-marks (which are really useful!) + +# wallabag add current page, either with walla command, or bw +c.aliases["add-wallabag"] = "spawn --userscript wallabag_add.sh" +config.bind('"w', "add-wallabag", mode="normal") + +# add to (my) shaarli instance +c.aliases["add-shaarli"] = "spawn --userscript shaarli_add.sh" +config.bind('"s', "add-shaarli", mode="normal") + +# re-opens the current page on the web archive overview page +c.aliases["send-to-archive"] = "open https://web.archive.org/web/{url}" +config.bind('"a', "send-to-archive", mode="normal") + +# sends current page to outline and thus through readability mode +c.aliases["send-to-outline"] = "open https://outline.com/{url}" +config.bind('"o', "send-to-outline", mode="normal") + +# translate current page / selection with google translate +c.aliases["translate-page-google"] = "spawn --userscript translate_google.sh" +c.aliases[ + "translate-selection-google" +] = "spawn --userscript translate_google.sh --text" +config.bind('"g', "translate-page-google", mode="normal") +config.bind('"G', "translate-selection-google", mode="normal") + +# print picture of current url as qr code +c.aliases["show-qr"] = "spawn --userscript qr" +config.bind('"q', "show-qr") + +# set stylesheets for the browser to use +# leader - ss to remove all applied stylesheets +config.bind( + leader + "s", + "config-cycle content.user_stylesheets " + 'stylesheets/stylesheet.css ""', +) + +# Enable and disable javascript +config.bind(leader + "js", "config-cycle content.javascript.enabled true false") + +# Reload this config +config.bind(leader + "VV", "config-source") + +c.url.searchengines = { + "DEFAULT": "https://search.martyoeh.me/?q={}", + "l": "https://links.martyoeh.me/?searchterm={}&searchtags=", + "ddg": "https://duckduckgo.com/?q={}", + "d": "https://www.dict.cc/?s={}", + "t": "https://www.thesaurus.com/browse/{}", + "gt": "https://translate.google.com/#auto/de/{}", + "dt": "https://www.deepl.com/translator#en/de/{}", + "g": "https://www.google.com/search?q={}", + "r": "https://old.reddit.com/r/{}", + "w": "https://en.wikipedia.org/w/index.php?search={}", + "gh": "https://github.com/search?q={}", + "al": "https://wiki.archlinux.org/index.php/{}", + "aur": "https://aur.archlinux.org/packages/?K={}", + "yt": "https://www.youtube.com/results?search_query={}", + "maps": "https://www.google.fr/maps?q={}", + "gol": "https://golang.org/pkg/{}/", + "man": "https://manned.org/browse/search?q={}", + "lib": "http://libgen.fun/search.php?req={}", + "sci": "https://sci-hub.do/{}", + "alt": "https://alternativeto.net/software/{}/?license=opensource", + "hn": "https://hn.algolia.com/?q={}", + "kb": "https://soeg.kb.dk/discovery/search?query=any,contains,{}&tab=Everything&search_scope=MyInst_and_CI&vid=45KBDK_KGL:KGL&offset=0&lang=en", +} c.content.blocking.enabled = True +c.content.blocking.method = "both" c.content.blocking.adblock.lists = [ "http://www.malwaredomainlist.com/hostslist/hosts.txt", "http://someonewhocares.org/hosts/hosts", @@ -59,125 +195,6 @@ for page in js_whitelist: with config.pattern(page) as p: p.content.javascript.enabled = True -c.editor.command = ["alacritty", "-e", "nvim", "-f", "{file}"] - -# LOOK -# ---- - -# Tab-Bar -# have tab bar on the right, not on the top -c.tabs.background = True -c.tabs.title.format = "{index} {audio}{perc}{current_title}" -c.tabs.position = "right" -c.tabs.width = "15%" - -c.colors.webpage.bg = "#555555" - -# FUNCTION -# -------- - -# Prevents *all* tabs from being loaded on restore, only loads on activating them -c.session.lazy_restore = True - -# Binds -# 'Leader' key binding -leader = "" - -# toggles ('cycles') between tabs always showing, or only when switching between them -config.bind( - leader + "tt", - "config-cycle -t tabs.show always switching;; config-cycle -t statusbar.show in-mode always", -) -config.bind(leader + "th", "set tabs.position bottom") -config.bind(leader + "tH", "set tabs.position top") -config.bind(leader + "tv", "set tabs.position right") -config.bind(leader + "tV", "set tabs.position left") - -# [M]edia shortcuts - watch, queue, download media -# bind mpv to play the current page/links, using a single instance which queues the next link passed -config.bind(leader + "M", "spawn umpv {url}") -config.bind(leader + "m", "hint links spawn umpv {hint-url}") -# bind youtube-dl to download the current page/links -config.bind(leader + "dM", "spawn vidl {url}") -config.bind( - leader + "dm", - "hint --rapid links spawn vidl {hint-url}", -) - -# Use q for quitting a tab (mimicks vim buffer) - qa is used for exiting -c.aliases["q"] = "tab-close" -# if we save sessions with w, load sessions with e (again, mimicks vim) -c.aliases["e"] = "session-load" - -# edit current form field in vim -config.bind(leader + "e", "open-editor") - -# bookmarklet aliases: -# currently the idea is to prefix bookmarklets with b (as in open "bookmarklet") -# wallabag add current page, either with walla command, or bw -c.aliases["add-wallabag"] = "spawn --userscript wallabag_add.sh" -config.bind(leader + "bw", "add-wallabag", mode="normal") -# add to (my) shaarli instance -c.aliases["add-shaarli"] = "spawn --userscript shaarli_add.sh" -config.bind(leader + "bs", "add-shaarli", mode="normal") -# re-opens the current page on the web archive overview page -c.aliases["send-to-archive"] = "open https://web.archive.org/web/{url}" -config.bind(leader + "ba", "send-to-archive", mode="normal") -# sends current page to outline and thus through readability mode -c.aliases["send-to-outline"] = "open https://outline.com/{url}" -config.bind(leader + "bo", "send-to-outline", mode="normal") -# translate current page / selection with google translate -c.aliases["translate-page"] = "spawn --userscript translate_google.sh" -c.aliases["translate-selection"] = "spawn --userscript translate_google.sh --text" -config.bind(leader + "bg", "translate-page", mode="normal") -config.bind(leader + "bG", "translate-selection", mode="normal") - -# save current page to pdf file -c.aliases["printpdf"] = "spawn --userscript pagetopdf.sh" -# set to gp, to mirror gd (download) just as go-Pdfdownload -config.bind("gp", "printpdf", mode="normal") - -# open last download -config.bind(leader + "o", "download-open") - -# set stylesheets for the browser to use -# leader - ss to remove all applied stylesheets -config.bind( - leader + "s", - "config-cycle content.user_stylesheets " + 'stylesheets/stylesheet.css ""', -) - -# Enable and disable javascript -config.bind(leader + "js", "config-cycle content.javascript.enabled true false") - -# Reload this config -config.bind(leader + "VV", "config-source") - -c.url.searchengines = { - "DEFAULT": "https://search.martyoeh.me/?q={}", - "l": "https://links.martyoeh.me/?searchterm={}&searchtags=", - "ddg": "https://duckduckgo.com/?q={}", - "d": "https://www.dict.cc/?s={}", - "t": "https://www.thesaurus.com/browse/{}", - "gt": "https://translate.google.com/#auto/de/{}", - "dt": "https://www.deepl.com/translator#en/de/{}", - "g": "https://www.google.com/search?q={}", - "r": "https://old.reddit.com/r/{}", - "w": "https://en.wikipedia.org/w/index.php?search={}", - "gh": "https://github.com/search?q={}", - "al": "https://wiki.archlinux.org/index.php/{}", - "aur": "https://aur.archlinux.org/packages/?K={}", - "yt": "https://www.youtube.com/results?search_query={}", - "maps": "https://www.google.fr/maps?q={}", - "gol": "https://golang.org/pkg/{}/", - "man": "https://manned.org/browse/search?q={}", - "lib": "http://libgen.fun/search.php?req={}", - "sci": "https://sci-hub.do/{}", - "alt": "https://alternativeto.net/software/{}/?license=opensource", - "hn": "https://hn.algolia.com/?q={}", - "kb": "https://soeg.kb.dk/discovery/search?query=any,contains,{}&tab=Everything&search_scope=MyInst_and_CI&vid=45KBDK_KGL:KGL&offset=0&lang=en", -} - # give the browser nice theme colors config.source("colorscheme.py") diff --git a/qutebrowser/.config/qutebrowser/themes/base16-gruvbox-dark.py b/qutebrowser/.config/qutebrowser/themes/base16-gruvbox-dark.py deleted file mode 100644 index bd5a0d7..0000000 --- a/qutebrowser/.config/qutebrowser/themes/base16-gruvbox-dark.py +++ /dev/null @@ -1,279 +0,0 @@ -# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) -# Base16 qutebrowser template by theova -# Gruvbox dark, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) - -base00 = "#282828" -base01 = "#3c3836" -base02 = "#504945" -base03 = "#665c54" -base04 = "#bdae93" -base05 = "#d5c4a1" -base06 = "#ebdbb2" -base07 = "#fbf1c7" -base08 = "#fb4934" -base09 = "#fe8019" -base0A = "#fabd2f" -base0B = "#b8bb26" -base0C = "#8ec07c" -base0D = "#83a598" -base0E = "#d3869b" -base0F = "#d65d0e" - -# set qutebrowser colors - -# 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 = base05 - -# Background color of the completion widget for odd rows. -c.colors.completion.odd.bg = base03 - -# Background color of the completion widget for even rows. -c.colors.completion.even.bg = base00 - -# Foreground color of completion widget category headers. -c.colors.completion.category.fg = base0A - -# Background color of the completion widget category headers. -c.colors.completion.category.bg = base00 - -# Top border color of the completion widget category headers. -c.colors.completion.category.border.top = base00 - -# Bottom border color of the completion widget category headers. -c.colors.completion.category.border.bottom = base00 - -# Foreground color of the selected completion item. -c.colors.completion.item.selected.fg = base01 - -# Background color of the selected completion item. -c.colors.completion.item.selected.bg = base0A - -# Top border color of the selected completion item. -c.colors.completion.item.selected.border.top = base0A - -# Bottom border color of the selected completion item. -c.colors.completion.item.selected.border.bottom = base0A - -# Foreground color of the matched text in the selected completion item. -c.colors.completion.item.selected.match.fg = base08 - -# Foreground color of the matched text in the completion. -c.colors.completion.match.fg = base0B - -# Color of the scrollbar handle in the completion view. -c.colors.completion.scrollbar.fg = base05 - -# Color of the scrollbar in the completion view. -c.colors.completion.scrollbar.bg = base00 - -# Background color for the download bar. -c.colors.downloads.bar.bg = base00 - -# Color gradient start for download text. -c.colors.downloads.start.fg = base00 - -# Color gradient start for download backgrounds. -c.colors.downloads.start.bg = base0D - -# Color gradient end for download text. -c.colors.downloads.stop.fg = base00 - -# Color gradient stop for download backgrounds. -c.colors.downloads.stop.bg = base0C - -# Foreground color for downloads with errors. -c.colors.downloads.error.fg = base08 - -# Font color for hints. -c.colors.hints.fg = base00 - -# Background color for hints. Note that you can use a `rgba(...)` value -# for transparency. -c.colors.hints.bg = base0A - -# Font color for the matched part of hints. -c.colors.hints.match.fg = base05 - -# Text color for the keyhint widget. -c.colors.keyhint.fg = base05 - -# Highlight color for keys to complete the current keychain. -c.colors.keyhint.suffix.fg = base05 - -# Background color of the keyhint widget. -c.colors.keyhint.bg = base00 - -# Foreground color of an error message. -c.colors.messages.error.fg = base00 - -# Background color of an error message. -c.colors.messages.error.bg = base08 - -# Border color of an error message. -c.colors.messages.error.border = base08 - -# Foreground color of a warning message. -c.colors.messages.warning.fg = base00 - -# Background color of a warning message. -c.colors.messages.warning.bg = base0E - -# Border color of a warning message. -c.colors.messages.warning.border = base0E - -# Foreground color of an info message. -c.colors.messages.info.fg = base05 - -# Background color of an info message. -c.colors.messages.info.bg = base00 - -# Border color of an info message. -c.colors.messages.info.border = base00 - -# Foreground color for prompts. -c.colors.prompts.fg = base05 - -# Border used around UI elements in prompts. -c.colors.prompts.border = base00 - -# Background color for prompts. -c.colors.prompts.bg = base00 - -# Background color for the selected item in filename prompts. -c.colors.prompts.selected.bg = base0A - -# Foreground color of the statusbar. -c.colors.statusbar.normal.fg = base0B - -# Background color of the statusbar. -c.colors.statusbar.normal.bg = base00 - -# Foreground color of the statusbar in insert mode. -c.colors.statusbar.insert.fg = base00 - -# Background color of the statusbar in insert mode. -c.colors.statusbar.insert.bg = base0D - -# Foreground color of the statusbar in passthrough mode. -c.colors.statusbar.passthrough.fg = base00 - -# Background color of the statusbar in passthrough mode. -c.colors.statusbar.passthrough.bg = base0C - -# Foreground color of the statusbar in private browsing mode. -c.colors.statusbar.private.fg = base00 - -# Background color of the statusbar in private browsing mode. -c.colors.statusbar.private.bg = base03 - -# Foreground color of the statusbar in command mode. -c.colors.statusbar.command.fg = base05 - -# Background color of the statusbar in command mode. -c.colors.statusbar.command.bg = base00 - -# Foreground color of the statusbar in private browsing + command mode. -c.colors.statusbar.command.private.fg = base05 - -# Background color of the statusbar in private browsing + command mode. -c.colors.statusbar.command.private.bg = base00 - -# Foreground color of the statusbar in caret mode. -c.colors.statusbar.caret.fg = base00 - -# Background color of the statusbar in caret mode. -c.colors.statusbar.caret.bg = base0E - -# Foreground color of the statusbar in caret mode with a selection. -c.colors.statusbar.caret.selection.fg = base00 - -# Background color of the statusbar in caret mode with a selection. -c.colors.statusbar.caret.selection.bg = base0D - -# Background color of the progress bar. -c.colors.statusbar.progress.bg = base0D - -# Default foreground color of the URL in the statusbar. -c.colors.statusbar.url.fg = base05 - -# Foreground color of the URL in the statusbar on error. -c.colors.statusbar.url.error.fg = base08 - -# Foreground color of the URL in the statusbar for hovered links. -c.colors.statusbar.url.hover.fg = base05 - -# Foreground color of the URL in the statusbar on successful load -# (http). -c.colors.statusbar.url.success.http.fg = base0C - -# Foreground color of the URL in the statusbar on successful load -# (https). -c.colors.statusbar.url.success.https.fg = base0B - -# Foreground color of the URL in the statusbar when there's a warning. -c.colors.statusbar.url.warn.fg = base0E - -# Background color of the tab bar. -c.colors.tabs.bar.bg = base00 - -# Color gradient start for the tab indicator. -c.colors.tabs.indicator.start = base0D - -# Color gradient end for the tab indicator. -c.colors.tabs.indicator.stop = base0C - -# Color for the tab indicator on errors. -c.colors.tabs.indicator.error = base08 - -# Foreground color of unselected odd tabs. -c.colors.tabs.odd.fg = base05 - -# Background color of unselected odd tabs. -c.colors.tabs.odd.bg = base03 - -# Foreground color of unselected even tabs. -c.colors.tabs.even.fg = base05 - -# Background color of unselected even tabs. -c.colors.tabs.even.bg = base00 - -# Background color of pinned unselected even tabs. -c.colors.tabs.pinned.even.bg = base0C - -# Foreground color of pinned unselected even tabs. -c.colors.tabs.pinned.even.fg = base07 - -# Background color of pinned unselected odd tabs. -c.colors.tabs.pinned.odd.bg = base0B - -# Foreground color of pinned unselected odd tabs. -c.colors.tabs.pinned.odd.fg = base07 - -# Background color of pinned selected even tabs. -c.colors.tabs.pinned.selected.even.bg = base05 - -# Foreground color of pinned selected even tabs. -c.colors.tabs.pinned.selected.even.fg = base00 - -# Background color of pinned selected odd tabs. -c.colors.tabs.pinned.selected.odd.bg = base05 - -# Foreground color of pinned selected odd tabs. -c.colors.tabs.pinned.selected.odd.fg = base0E - -# Foreground color of selected odd tabs. -c.colors.tabs.selected.odd.fg = base00 - -# Background color of selected odd tabs. -c.colors.tabs.selected.odd.bg = base05 - -# Foreground color of selected even tabs. -c.colors.tabs.selected.even.fg = base00 - -# Background color of selected even tabs. -c.colors.tabs.selected.even.bg = base05 - -# Background color for webpages if unset (or empty to use the theme's -# color). -# c.colors.webpage.bg = base00 diff --git a/qutebrowser/.config/qutebrowser/themes/base16-gruvbox-light.py b/qutebrowser/.config/qutebrowser/themes/base16-gruvbox-light.py deleted file mode 100644 index 626cd44..0000000 --- a/qutebrowser/.config/qutebrowser/themes/base16-gruvbox-light.py +++ /dev/null @@ -1,279 +0,0 @@ -# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) -# Base16 qutebrowser template by theova -# Gruvbox light, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) - -base00 = "#fbf1c7" -base01 = "#ebdbb2" -base02 = "#d5c4a1" -base03 = "#bdae93" -base04 = "#665c54" -base05 = "#504945" -base06 = "#3c3836" -base07 = "#282828" -base08 = "#9d0006" -base09 = "#af3a03" -base0A = "#b57614" -base0B = "#79740e" -base0C = "#427b58" -base0D = "#076678" -base0E = "#8f3f71" -base0F = "#d65d0e" - -# set qutebrowser colors - -# 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 = base05 - -# Background color of the completion widget for odd rows. -c.colors.completion.odd.bg = base03 - -# Background color of the completion widget for even rows. -c.colors.completion.even.bg = base00 - -# Foreground color of completion widget category headers. -c.colors.completion.category.fg = base0A - -# Background color of the completion widget category headers. -c.colors.completion.category.bg = base00 - -# Top border color of the completion widget category headers. -c.colors.completion.category.border.top = base00 - -# Bottom border color of the completion widget category headers. -c.colors.completion.category.border.bottom = base00 - -# Foreground color of the selected completion item. -c.colors.completion.item.selected.fg = base01 - -# Background color of the selected completion item. -c.colors.completion.item.selected.bg = base0A - -# Top border color of the selected completion item. -c.colors.completion.item.selected.border.top = base0A - -# Bottom border color of the selected completion item. -c.colors.completion.item.selected.border.bottom = base0A - -# Foreground color of the matched text in the selected completion item. -c.colors.completion.item.selected.match.fg = base08 - -# Foreground color of the matched text in the completion. -c.colors.completion.match.fg = base0B - -# Color of the scrollbar handle in the completion view. -c.colors.completion.scrollbar.fg = base05 - -# Color of the scrollbar in the completion view. -c.colors.completion.scrollbar.bg = base00 - -# Background color for the download bar. -c.colors.downloads.bar.bg = base00 - -# Color gradient start for download text. -c.colors.downloads.start.fg = base00 - -# Color gradient start for download backgrounds. -c.colors.downloads.start.bg = base0D - -# Color gradient end for download text. -c.colors.downloads.stop.fg = base00 - -# Color gradient stop for download backgrounds. -c.colors.downloads.stop.bg = base0C - -# Foreground color for downloads with errors. -c.colors.downloads.error.fg = base08 - -# Font color for hints. -c.colors.hints.fg = base00 - -# Background color for hints. Note that you can use a `rgba(...)` value -# for transparency. -c.colors.hints.bg = base0A - -# Font color for the matched part of hints. -c.colors.hints.match.fg = base05 - -# Text color for the keyhint widget. -c.colors.keyhint.fg = base05 - -# Highlight color for keys to complete the current keychain. -c.colors.keyhint.suffix.fg = base05 - -# Background color of the keyhint widget. -c.colors.keyhint.bg = base00 - -# Foreground color of an error message. -c.colors.messages.error.fg = base00 - -# Background color of an error message. -c.colors.messages.error.bg = base08 - -# Border color of an error message. -c.colors.messages.error.border = base08 - -# Foreground color of a warning message. -c.colors.messages.warning.fg = base00 - -# Background color of a warning message. -c.colors.messages.warning.bg = base0E - -# Border color of a warning message. -c.colors.messages.warning.border = base0E - -# Foreground color of an info message. -c.colors.messages.info.fg = base05 - -# Background color of an info message. -c.colors.messages.info.bg = base00 - -# Border color of an info message. -c.colors.messages.info.border = base00 - -# Foreground color for prompts. -c.colors.prompts.fg = base05 - -# Border used around UI elements in prompts. -c.colors.prompts.border = base00 - -# Background color for prompts. -c.colors.prompts.bg = base00 - -# Background color for the selected item in filename prompts. -c.colors.prompts.selected.bg = base0A - -# Foreground color of the statusbar. -c.colors.statusbar.normal.fg = base0B - -# Background color of the statusbar. -c.colors.statusbar.normal.bg = base00 - -# Foreground color of the statusbar in insert mode. -c.colors.statusbar.insert.fg = base00 - -# Background color of the statusbar in insert mode. -c.colors.statusbar.insert.bg = base0D - -# Foreground color of the statusbar in passthrough mode. -c.colors.statusbar.passthrough.fg = base00 - -# Background color of the statusbar in passthrough mode. -c.colors.statusbar.passthrough.bg = base0C - -# Foreground color of the statusbar in private browsing mode. -c.colors.statusbar.private.fg = base00 - -# Background color of the statusbar in private browsing mode. -c.colors.statusbar.private.bg = base03 - -# Foreground color of the statusbar in command mode. -c.colors.statusbar.command.fg = base05 - -# Background color of the statusbar in command mode. -c.colors.statusbar.command.bg = base00 - -# Foreground color of the statusbar in private browsing + command mode. -c.colors.statusbar.command.private.fg = base05 - -# Background color of the statusbar in private browsing + command mode. -c.colors.statusbar.command.private.bg = base00 - -# Foreground color of the statusbar in caret mode. -c.colors.statusbar.caret.fg = base00 - -# Background color of the statusbar in caret mode. -c.colors.statusbar.caret.bg = base0E - -# Foreground color of the statusbar in caret mode with a selection. -c.colors.statusbar.caret.selection.fg = base00 - -# Background color of the statusbar in caret mode with a selection. -c.colors.statusbar.caret.selection.bg = base0D - -# Background color of the progress bar. -c.colors.statusbar.progress.bg = base0D - -# Default foreground color of the URL in the statusbar. -c.colors.statusbar.url.fg = base05 - -# Foreground color of the URL in the statusbar on error. -c.colors.statusbar.url.error.fg = base08 - -# Foreground color of the URL in the statusbar for hovered links. -c.colors.statusbar.url.hover.fg = base05 - -# Foreground color of the URL in the statusbar on successful load -# (http). -c.colors.statusbar.url.success.http.fg = base0C - -# Foreground color of the URL in the statusbar on successful load -# (https). -c.colors.statusbar.url.success.https.fg = base0B - -# Foreground color of the URL in the statusbar when there's a warning. -c.colors.statusbar.url.warn.fg = base0E - -# Background color of the tab bar. -c.colors.tabs.bar.bg = base00 - -# Color gradient start for the tab indicator. -c.colors.tabs.indicator.start = base0D - -# Color gradient end for the tab indicator. -c.colors.tabs.indicator.stop = base0C - -# Color for the tab indicator on errors. -c.colors.tabs.indicator.error = base08 - -# Foreground color of unselected odd tabs. -c.colors.tabs.odd.fg = base05 - -# Background color of unselected odd tabs. -c.colors.tabs.odd.bg = base03 - -# Foreground color of unselected even tabs. -c.colors.tabs.even.fg = base05 - -# Background color of unselected even tabs. -c.colors.tabs.even.bg = base00 - -# Background color of pinned unselected even tabs. -c.colors.tabs.pinned.even.bg = base0C - -# Foreground color of pinned unselected even tabs. -c.colors.tabs.pinned.even.fg = base07 - -# Background color of pinned unselected odd tabs. -c.colors.tabs.pinned.odd.bg = base0B - -# Foreground color of pinned unselected odd tabs. -c.colors.tabs.pinned.odd.fg = base07 - -# Background color of pinned selected even tabs. -c.colors.tabs.pinned.selected.even.bg = base05 - -# Foreground color of pinned selected even tabs. -c.colors.tabs.pinned.selected.even.fg = base00 - -# Background color of pinned selected odd tabs. -c.colors.tabs.pinned.selected.odd.bg = base05 - -# Foreground color of pinned selected odd tabs. -c.colors.tabs.pinned.selected.odd.fg = base0E - -# Foreground color of selected odd tabs. -c.colors.tabs.selected.odd.fg = base00 - -# Background color of selected odd tabs. -c.colors.tabs.selected.odd.bg = base05 - -# Foreground color of selected even tabs. -c.colors.tabs.selected.even.fg = base00 - -# Background color of selected even tabs. -c.colors.tabs.selected.even.bg = base05 - -# Background color for webpages if unset (or empty to use the theme's -# color). -# c.colors.webpage.bg = base00 diff --git a/qutebrowser/.config/qutebrowser/themes/base16-solarized-dark.py b/qutebrowser/.config/qutebrowser/themes/base16-solarized-dark.py deleted file mode 100644 index 6020ab9..0000000 --- a/qutebrowser/.config/qutebrowser/themes/base16-solarized-dark.py +++ /dev/null @@ -1,248 +0,0 @@ -# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) -# Base16 qutebrowser template by theova -# Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) - -base00 = "#002b36" -base01 = "#073642" -base02 = "#586e75" -base03 = "#657b83" -base04 = "#839496" -base05 = "#93a1a1" -base06 = "#eee8d5" -base07 = "#fdf6e3" -base08 = "#dc322f" -base09 = "#cb4b16" -base0A = "#b58900" -base0B = "#859900" -base0C = "#2aa198" -base0D = "#268bd2" -base0E = "#6c71c4" -base0F = "#d33682" - -# set qutebrowser colors - -# 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 = base05 - -# Background color of the completion widget for odd rows. -c.colors.completion.odd.bg = base00 - -# Background color of the completion widget for even rows. -c.colors.completion.even.bg = base00 - -# Foreground color of completion widget category headers. -c.colors.completion.category.fg = base0A - -# Background color of the completion widget category headers. -c.colors.completion.category.bg = base00 - -# Top border color of the completion widget category headers. -c.colors.completion.category.border.top = base00 - -# Bottom border color of the completion widget category headers. -c.colors.completion.category.border.bottom = base00 - -# Foreground color of the selected completion item. -c.colors.completion.item.selected.fg = base01 - -# Background color of the selected completion item. -c.colors.completion.item.selected.bg = base0A - -# Top border color of the completion widget category headers. -c.colors.completion.item.selected.border.top = base0A - -# Bottom border color of the selected completion item. -c.colors.completion.item.selected.border.bottom = base0A - -# Foreground color of the matched text in the completion. -c.colors.completion.match.fg = base0B - -# Color of the scrollbar handle in the completion view. -c.colors.completion.scrollbar.fg = base05 - -# Color of the scrollbar in the completion view. -c.colors.completion.scrollbar.bg = base00 - -# Background color for the download bar. -c.colors.downloads.bar.bg = base00 - -# Color gradient start for download text. -c.colors.downloads.start.fg = base00 - -# Color gradient start for download backgrounds. -c.colors.downloads.start.bg = base0D - -# Color gradient end for download text. -c.colors.downloads.stop.fg = base00 - -# Color gradient stop for download backgrounds. -c.colors.downloads.stop.bg = base0C - -# Foreground color for downloads with errors. -c.colors.downloads.error.fg = base08 - -# Font color for hints. -c.colors.hints.fg = base00 - -# Background color for hints. Note that you can use a `rgba(...)` value -# for transparency. -c.colors.hints.bg = base0A - -# Font color for the matched part of hints. -c.colors.hints.match.fg = base05 - -# Text color for the keyhint widget. -c.colors.keyhint.fg = base05 - -# Highlight color for keys to complete the current keychain. -c.colors.keyhint.suffix.fg = base05 - -# Background color of the keyhint widget. -c.colors.keyhint.bg = base00 - -# Foreground color of an error message. -c.colors.messages.error.fg = base00 - -# Background color of an error message. -c.colors.messages.error.bg = base08 - -# Border color of an error message. -c.colors.messages.error.border = base08 - -# Foreground color of a warning message. -c.colors.messages.warning.fg = base00 - -# Background color of a warning message. -c.colors.messages.warning.bg = base0E - -# Border color of a warning message. -c.colors.messages.warning.border = base0E - -# Foreground color of an info message. -c.colors.messages.info.fg = base05 - -# Background color of an info message. -c.colors.messages.info.bg = base00 - -# Border color of an info message. -c.colors.messages.info.border = base00 - -# Foreground color for prompts. -c.colors.prompts.fg = base05 - -# Border used around UI elements in prompts. -c.colors.prompts.border = base00 - -# Background color for prompts. -c.colors.prompts.bg = base00 - -# Background color for the selected item in filename prompts. -c.colors.prompts.selected.bg = base0A - -# Foreground color of the statusbar. -c.colors.statusbar.normal.fg = base0B - -# Background color of the statusbar. -c.colors.statusbar.normal.bg = base00 - -# Foreground color of the statusbar in insert mode. -c.colors.statusbar.insert.fg = base00 - -# Background color of the statusbar in insert mode. -c.colors.statusbar.insert.bg = base0D - -# Foreground color of the statusbar in passthrough mode. -c.colors.statusbar.passthrough.fg = base00 - -# Background color of the statusbar in passthrough mode. -c.colors.statusbar.passthrough.bg = base0C - -# Foreground color of the statusbar in private browsing mode. -c.colors.statusbar.private.fg = base00 - -# Background color of the statusbar in private browsing mode. -c.colors.statusbar.private.bg = base03 - -# Foreground color of the statusbar in command mode. -c.colors.statusbar.command.fg = base05 - -# Background color of the statusbar in command mode. -c.colors.statusbar.command.bg = base00 - -# Foreground color of the statusbar in private browsing + command mode. -c.colors.statusbar.command.private.fg = base05 - -# Background color of the statusbar in private browsing + command mode. -c.colors.statusbar.command.private.bg = base00 - -# Foreground color of the statusbar in caret mode. -c.colors.statusbar.caret.fg = base00 - -# Background color of the statusbar in caret mode. -c.colors.statusbar.caret.bg = base0E - -# Foreground color of the statusbar in caret mode with a selection. -c.colors.statusbar.caret.selection.fg = base00 - -# Background color of the statusbar in caret mode with a selection. -c.colors.statusbar.caret.selection.bg = base0D - -# Background color of the progress bar. -c.colors.statusbar.progress.bg = base0D - -# Default foreground color of the URL in the statusbar. -c.colors.statusbar.url.fg = base05 - -# Foreground color of the URL in the statusbar on error. -c.colors.statusbar.url.error.fg = base08 - -# Foreground color of the URL in the statusbar for hovered links. -c.colors.statusbar.url.hover.fg = base05 - -# Foreground color of the URL in the statusbar on successful load -# (http). -c.colors.statusbar.url.success.http.fg = base0C - -# Foreground color of the URL in the statusbar on successful load -# (https). -c.colors.statusbar.url.success.https.fg = base0B - -# Foreground color of the URL in the statusbar when there's a warning. -c.colors.statusbar.url.warn.fg = base0E - -# Background color of the tab bar. -c.colors.tabs.bar.bg = base00 - -# Color gradient start for the tab indicator. -c.colors.tabs.indicator.start = base0D - -# Color gradient end for the tab indicator. -c.colors.tabs.indicator.stop = base0C - -# Color for the tab indicator on errors. -c.colors.tabs.indicator.error = base08 - -# Foreground color of unselected odd tabs. -c.colors.tabs.odd.fg = base05 - -# Background color of unselected odd tabs. -c.colors.tabs.odd.bg = base00 - -# Foreground color of unselected even tabs. -c.colors.tabs.even.fg = base05 - -# Background color of unselected even tabs. -c.colors.tabs.even.bg = base00 - -# Foreground color of selected odd tabs. -c.colors.tabs.selected.odd.fg = base00 - -# Background color of selected odd tabs. -c.colors.tabs.selected.odd.bg = base05 - -# Foreground color of selected even tabs. -c.colors.tabs.selected.even.fg = base00 - -# Background color of selected even tabs. -c.colors.tabs.selected.even.bg = base05 diff --git a/qutebrowser/.config/qutebrowser/themes/nordtheme.py b/qutebrowser/.config/qutebrowser/themes/nordtheme.py deleted file mode 100644 index 9dd9064..0000000 --- a/qutebrowser/.config/qutebrowser/themes/nordtheme.py +++ /dev/null @@ -1,336 +0,0 @@ -nord = { - # Polar Night - 'nord0': '#2e3440', - 'nord1': '#3b4252', - 'nord2': '#434c5e', - 'nord3': '#4c566a', - # Snow Storm - 'nord4': '#d8dee9', - 'nord5': '#e5e9f0', - 'nord6': '#eceff4', - # Frost - 'nord7': '#8fbcbb', - 'nord8': '#88c0d0', - 'nord9': '#81a1c1', - 'nord10': '#5e81ac', - # Aurora - 'nord11': '#bf616a', - 'nord12': '#d08770', - 'nord13': '#ebcb8b', - 'nord14': '#a3be8c', - 'nord15': '#b48ead', -} - -## Background color of the completion widget category headers. -## Type: QssColor -c.colors.completion.category.bg = nord['nord0'] - -## Bottom border color of the completion widget category headers. -## Type: QssColor -c.colors.completion.category.border.bottom = nord['nord0'] - -## Top border color of the completion widget category headers. -## Type: QssColor -c.colors.completion.category.border.top = nord['nord0'] - -## Foreground color of completion widget category headers. -## Type: QtColor -c.colors.completion.category.fg = nord['nord5'] - -## Background color of the completion widget for even rows. -## Type: QssColor -c.colors.completion.even.bg = nord['nord1'] - -## Background color of the completion widget for odd rows. -## Type: QssColor -c.colors.completion.odd.bg = nord['nord1'] - -## Text color of the completion widget. -## Type: QtColor -c.colors.completion.fg = nord['nord4'] - -## Background color of the selected completion item. -## Type: QssColor -c.colors.completion.item.selected.bg = nord['nord3'] - -## Bottom border color of the selected completion item. -## Type: QssColor -c.colors.completion.item.selected.border.bottom = nord['nord3'] - -## Top border color of the completion widget category headers. -## Type: QssColor -c.colors.completion.item.selected.border.top = nord['nord3'] - -## Foreground color of the selected completion item. -## Type: QtColor -c.colors.completion.item.selected.fg = nord['nord6'] - -## Foreground color of the matched text in the completion. -## Type: QssColor -c.colors.completion.match.fg = nord['nord13'] - -## Color of the scrollbar in completion view -## Type: QssColor -c.colors.completion.scrollbar.bg = nord['nord1'] - -## Color of the scrollbar handle in completion view. -## Type: QssColor -c.colors.completion.scrollbar.fg = nord['nord5'] - -## Background color for the download bar. -## Type: QssColor -c.colors.downloads.bar.bg = nord['nord0'] - -## Background color for downloads with errors. -## Type: QtColor -c.colors.downloads.error.bg = nord['nord11'] - -## Foreground color for downloads with errors. -## Type: QtColor -c.colors.downloads.error.fg = nord['nord5'] - -## Color gradient stop for download backgrounds. -## Type: QtColor -c.colors.downloads.stop.bg = nord['nord15'] - -## 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. -## Type: QssColor -c.colors.hints.bg = nord['nord13'] - -## Font color for hints. -## Type: QssColor -c.colors.hints.fg = nord['nord0'] - -## Font color for the matched part of hints. -## Type: QssColor -c.colors.hints.match.fg = nord['nord10'] - -## Background color of the keyhint widget. -## Type: QssColor -c.colors.keyhint.bg = nord['nord1'] - -## Text color for the keyhint widget. -## Type: QssColor -c.colors.keyhint.fg = nord['nord5'] - -## Highlight color for keys to complete the current keychain. -## Type: QssColor -c.colors.keyhint.suffix.fg = nord['nord13'] - -## Background color of an error message. -## Type: QssColor -c.colors.messages.error.bg = nord['nord11'] - -## Border color of an error message. -## Type: QssColor -c.colors.messages.error.border = nord['nord11'] - -## Foreground color of an error message. -## Type: QssColor -c.colors.messages.error.fg = nord['nord5'] - -## Background color of an info message. -## Type: QssColor -c.colors.messages.info.bg = nord['nord8'] - -## Border color of an info message. -## Type: QssColor -c.colors.messages.info.border = nord['nord8'] - -## Foreground color an info message. -## Type: QssColor -c.colors.messages.info.fg = nord['nord5'] - -## Background color of a warning message. -## Type: QssColor -c.colors.messages.warning.bg = nord['nord12'] - -## Border color of a warning message. -## Type: QssColor -c.colors.messages.warning.border = nord['nord12'] - -## Foreground color a warning message. -## Type: QssColor -c.colors.messages.warning.fg = nord['nord5'] - -## Background color for prompts. -## Type: QssColor -c.colors.prompts.bg = nord['nord2'] - -# ## Border used around UI elements in prompts. -# ## Type: String -c.colors.prompts.border = '1px solid ' + nord['nord0'] - -## Foreground color for prompts. -## Type: QssColor -c.colors.prompts.fg = nord['nord5'] - -## Background color for the selected item in filename prompts. -## Type: QssColor -c.colors.prompts.selected.bg = nord['nord3'] - -## Background color of the statusbar in caret mode. -## Type: QssColor -c.colors.statusbar.caret.bg = nord['nord15'] - -## Foreground color of the statusbar in caret mode. -## Type: QssColor -c.colors.statusbar.caret.fg = nord['nord5'] - -## Background color of the statusbar in caret mode with a selection. -## Type: QssColor -c.colors.statusbar.caret.selection.bg = nord['nord15'] - -## Foreground color of the statusbar in caret mode with a selection. -## Type: QssColor -c.colors.statusbar.caret.selection.fg = nord['nord5'] - -## Background color of the statusbar in command mode. -## Type: QssColor -c.colors.statusbar.command.bg = nord['nord2'] - -## Foreground color of the statusbar in command mode. -## Type: QssColor -c.colors.statusbar.command.fg = nord['nord5'] - -## Background color of the statusbar in private browsing + command mode. -## Type: QssColor -c.colors.statusbar.command.private.bg = nord['nord2'] - -## Foreground color of the statusbar in private browsing + command mode. -## Type: QssColor -c.colors.statusbar.command.private.fg = nord['nord5'] - -## Background color of the statusbar in insert mode. -## Type: QssColor -c.colors.statusbar.insert.bg = nord['nord14'] - -## Foreground color of the statusbar in insert mode. -## Type: QssColor -c.colors.statusbar.insert.fg = nord['nord1'] - -## Background color of the statusbar. -## Type: QssColor -c.colors.statusbar.normal.bg = nord['nord0'] - -## Foreground color of the statusbar. -## Type: QssColor -c.colors.statusbar.normal.fg = nord['nord5'] - -## Background color of the statusbar in passthrough mode. -## Type: QssColor -c.colors.statusbar.passthrough.bg = nord['nord10'] - -## Foreground color of the statusbar in passthrough mode. -## Type: QssColor -c.colors.statusbar.passthrough.fg = nord['nord5'] - -## Background color of the statusbar in private browsing mode. -## Type: QssColor -c.colors.statusbar.private.bg = nord['nord3'] - -## Foreground color of the statusbar in private browsing mode. -## Type: QssColor -c.colors.statusbar.private.fg = nord['nord5'] - -## Background color of the progress bar. -## Type: QssColor -c.colors.statusbar.progress.bg = nord['nord5'] - -## Foreground color of the URL in the statusbar on error. -## Type: QssColor -c.colors.statusbar.url.error.fg = nord['nord11'] - -## Default foreground color of the URL in the statusbar. -## Type: QssColor -c.colors.statusbar.url.fg = nord['nord5'] - -## Foreground color of the URL in the statusbar for hovered links. -## Type: QssColor -c.colors.statusbar.url.hover.fg = nord['nord8'] - -## Foreground color of the URL in the statusbar on successful load -## (http). -## Type: QssColor -c.colors.statusbar.url.success.http.fg = nord['nord5'] - -## Foreground color of the URL in the statusbar on successful load -## (https). -## Type: QssColor -c.colors.statusbar.url.success.https.fg = nord['nord14'] - -## Foreground color of the URL in the statusbar when there's a warning. -## Type: QssColor -c.colors.statusbar.url.warn.fg = nord['nord12'] - -## Background color of the tab bar. -## Type: QtColor -c.colors.tabs.bar.bg = nord['nord3'] - -## Background color of unselected even tabs. -## Type: QtColor -c.colors.tabs.even.bg = nord['nord3'] - -## Foreground color of unselected even tabs. -## Type: QtColor -c.colors.tabs.even.fg = nord['nord5'] - -## Color for the tab indicator on errors. -## Type: QtColor -c.colors.tabs.indicator.error = nord['nord11'] - -## Color gradient start for the tab indicator. -## Type: QtColor -# c.colors.tabs.indicator.start = nord['violet'] - -## Color gradient end for the tab indicator. -## Type: QtColor -# c.colors.tabs.indicator.stop = nord['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 = 'none' - -## Background color of unselected odd tabs. -## Type: QtColor -c.colors.tabs.odd.bg = nord['nord3'] - -## Foreground color of unselected odd tabs. -## Type: QtColor -c.colors.tabs.odd.fg = nord['nord5'] - -# ## Background color of selected even tabs. -# ## Type: QtColor -c.colors.tabs.selected.even.bg = nord['nord0'] - -# ## Foreground color of selected even tabs. -# ## Type: QtColor -c.colors.tabs.selected.even.fg = nord['nord5'] - -# ## Background color of selected odd tabs. -# ## Type: QtColor -c.colors.tabs.selected.odd.bg = nord['nord0'] - -# ## Foreground color of selected odd tabs. -# ## Type: QtColor -c.colors.tabs.selected.odd.fg = nord['nord5'] - -## Background color for webpages if unset (or empty to use the theme's -## color) -## Type: QtColor -# c.colors.webpage.bg = 'white'