From 043f82812943f0a6fa615fc179dae4e1bd60c768 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 1 Mar 2022 10:26:55 -0700 Subject: [PATCH] update themes and kshrc --- fluxbox/styles/abyss/iconify-i.png | Bin 5335 -> 5010 bytes fluxbox/styles/abyss/iconify.png | Bin 5340 -> 5007 bytes fluxbox/styles/abyss/theme.cfg | 4 +- kshrc | 116 ++++-- micro/colorschemes/solarwolf.micro | 4 +- qutebrowser.config.py | 559 +++++++++++++++++++++++++++++ tint2rc | 8 +- 7 files changed, 645 insertions(+), 46 deletions(-) create mode 100644 qutebrowser.config.py diff --git a/fluxbox/styles/abyss/iconify-i.png b/fluxbox/styles/abyss/iconify-i.png index f11dbe92631de42d4cbc15c460186e5ed8ec4136..33a107f52513eb1c1972b3674b439a648ab7914b 100644 GIT binary patch delta 1532 zcmV zyRF2}JB&(fYF{FcpQ9mrP0=aLhmdTjMOFYZZVpnWG3pFQ5`|6Ts83%y6Y?xi*Od`b zAECylPIpu;i=Ov~M_Q4Wi##MbUG3BUK>D1@O#O$Mqc4l^`%O=&usvjd+`TvNbIn*q zi3zDrYf-nQObdQHrWjLydw^cr47WnUX2~dyU0p$~ZFSpGDrI8e>J+I_p-#taD^-LT z`3P(Tir(gCO-be70F2#_i_1j$h(fsON+8jl!FS5`)M zKtEn)Afb}Pz$QxptQZyh$D(5o6%~!Dn$*-aYe|w~(v*^=@lq@%7K5oJGjq#UTs*pZ za&!0WC36HJ+q~qg~X{ zYj%^M@jB7L48S-<0&yD%u%US{+ni$LL2fYHGUHSzBS;;8%o+`1AQ%r~?Q~-o_#`^W zeT!SLc*l+ZmRuO^y}dshi;RVf^sIUdET*r#5^w@M`-OdJDaU z{!5{5xl9|scE4!DGNe-ZR#@Smtm`fG7J3W4AcP+faB^>xIRg_=i7^gyDRpN8vF_SJx z{K$31<2TNEmj#{~HdD!Y;xMt8Z(*f{S;5qZf2W8es-{!EkoH*Ryv127RaoPm{Dq;c zzOu}9n!|`=5l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0@O- diff --git a/fluxbox/styles/abyss/theme.cfg b/fluxbox/styles/abyss/theme.cfg index 5947a9a..8d0b7a8 100644 --- a/fluxbox/styles/abyss/theme.cfg +++ b/fluxbox/styles/abyss/theme.cfg @@ -26,7 +26,7 @@ menu.bullet.position: Right menu.title: flat menu.title.justify: center menu.title.color: #000000 -menu.title.textColor: #FFFFFF +menu.title.textColor: #c9c9c9 menu.frame: flat menu.frame.justify: left @@ -105,7 +105,7 @@ window.title.unfocus.color: #000000 window.label.focus: flat window.label.focus.color: #000000 -window.label.focus.textColor: #ffffff +window.label.focus.textColor: #c9c9c9 window.label.unfocus: flat window.label.unfocus.color: #000000 window.label.unfocus.textColor: #797979 diff --git a/kshrc b/kshrc index a11bfaa..141cef7 100644 --- a/kshrc +++ b/kshrc @@ -7,25 +7,6 @@ indicator() fi } -export WINIT_X11_SCALE_FACTOR=1 -export GPG_TTY=$(tty) -export VISUAL=micro -export EDITOR=micro -export BROWSER=qutebrowser -export GTK_THEME=steppenwolf-dark -export MICRO_TRUECOLOR=1 -export GOPATH=~/src/go -export ZEIT_DB=~/.zeit/db -export DOTNET_ROOT=${HOME}/bin/dotnet -export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398 -export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5 -if [ "$TERM" = "dumb" ]; then - PS1='$(indicator) ' -else - PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) ' -fi -bind -m '^L'='^C'clear'^J' - silence() { "$@" > /dev/null & exit @@ -36,13 +17,6 @@ search() $BROWSER https://duckduckgo.com/?q="$*" > /dev/null & exit } -acmeInit() -{ - export tabstop=2 - acme -aib -f /mnt/font/SauceCodeProNerdFontComplete-Regular/9a/font & - exit -} - sshmount() { sshfs $1 $2 @@ -201,17 +175,33 @@ today(){ } mode(){ - case $1 in - desktop) - ~/src/zenUtils/extdisplay.sh solo - ;; - laptop) - ~/src/zenUtils/extdisplay.sh off - ;; - esac - nitrogen --restore - if pgrep ryudo; then - killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 & + hasPanel=0 + if [ ! -z "$1" ]; then + if pgrep tint2; then + hasPanel=1 + killall tint2 + fi + case $1 in + desktop) + ~/src/zenUtils/extdisplay.sh solo + ;; + laptop) + ~/src/zenUtils/extdisplay.sh off + xrandr --dpi 96 + ;; + dualleft) + ~/src/zenUtils/extdisplay.sh left-of + ;; + dualright) + ~/src/zenUtils/extdisplay.sh right-of + esac + nitrogen --restore + if pgrep ryudo; then + killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 & + fi + if [ ${hasPanel} -eq 1 ]; then + tint2 & + fi fi } @@ -246,6 +236,42 @@ init-otp() { fi } +dreadlock() { + cmd=$1 + shift + $cmd "$@" | nobs +} + +export WINIT_X11_SCALE_FACTOR=1 +export LC_ALL=en_US.UTF-8 +export GPG_TTY=$(tty) +export VISUAL=micro +export EDITOR=micro +export BROWSER=qutebrowser +export GTK_THEME=steppenwolf-dark +export MICRO_TRUECOLOR=1 +export GOPATH=~/src/go +export GOPROXY=on +export ZEIT_DB=~/.zeit/db +export DOTNET_ROOT=${HOME}/bin/dotnet +export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398 +export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5 +if [ "$TERM" = "dumb" ]; then + PS1='$(indicator) ' + export PINENTRY_USER_DATA=tty + alias node='dreadlock node' + alias git='dreadlock git' + export EDITOR=E + export VISUAL=E +else + PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) ' + export PINENTRY_USER_DATA=curses +fi +bind -m '^L'='^C'clear'^J' + +silence() + + alias alsamixer='alsamixer --no-color' alias web='silence $BROWSER' alias mail='silence thunderbird' @@ -258,9 +284,23 @@ alias zoom='flatpak --device=all --filesystem=host run us.zoom.Zoom' alias teams='flatpak --device=all --filesystem=host run com.microsoft.Teams' alias micro='microCmd' alias startx='exec startx' -alias mutt='echo -ne "\033]0;neomutt\007"; PINENTRY_USER_DATA=curses neomutt' +alias mutt='echo -ne "\033]0;neomutt\007"; neomutt' # alias mpv='mpv --player-operation-mode=pseudo-gui --term-osd=force --cover-art-files=/home/nilix/lib/img/ux/sound_only.png' alias ls='ls -lh --group-directories-first' +alias nasu='uxnemu ~/src/nasu/bin/nasu.rom' +alias dexe='uxnemu ~/src/dexe/bin/dexe.rom' + +if [ "$winid" ]; then + ## ... then patch the `cd` command + _cd () { + \cd "$@" && awd + } + alias cd=_cd +fi + +PATH=${HOME}/.local/bin:${PATH} + +PATH=${HOME}/src/go/bin:${PATH} if [ -d ~/bin ]; then PATH=~/bin:${PATH} diff --git a/micro/colorschemes/solarwolf.micro b/micro/colorschemes/solarwolf.micro index 276430c..9212c8d 100644 --- a/micro/colorschemes/solarwolf.micro +++ b/micro/colorschemes/solarwolf.micro @@ -5,13 +5,13 @@ color-link constant.specialChar "#dc322f" color-link statement "#1f9b92" color-link symbol "#1f9b92" color-link preproc "#586e75" -#ecolor-link type "#1f9b92" +color-link type "#1f9b92" #color-link special "#268bd2" #color-link underlined "#d33682" color-link error "bold #cb4b16" color-link todo "bold #d33682" color-link statusline "#c9c9c9,#000000" -color-link tabbar "#c9c9c9e,#000000" +color-link tabbar "#c9c9c9,#000000" color-link divider "#000000" color-link indent-char "#000000" color-link line-number "bold #002b36,default" diff --git a/qutebrowser.config.py b/qutebrowser.config.py new file mode 100644 index 0000000..10c23d1 --- /dev/null +++ b/qutebrowser.config.py @@ -0,0 +1,559 @@ +# Autogenerated config.py +# +# NOTE: config.py is intended for advanced users who are comfortable +# with manually migrating the config file on qutebrowser upgrades. If +# you prefer, you can also configure qutebrowser using the +# :set/:bind/:config-* commands without having to write a config.py +# file. +# +# Documentation: +# qute://help/configuring.html +# qute://help/settings.html + +# Change the argument to True to still load settings configured via autoconfig.yml +config.load_autoconfig(False) + +# Allow websites to read canvas elements. Note this is needed for some +# websites to work properly. +# Type: Bool +c.content.canvas_reading = False + +# Which cookies to accept. With QtWebEngine, this setting also controls +# other features with tracking capabilities similar to those of cookies; +# including IndexedDB, DOM storage, filesystem API, service workers, and +# AppCache. Note that with QtWebKit, only `all` and `never` are +# supported as per-domain values. Setting `no-3rdparty` or `no- +# unknown-3rdparty` per-domain on QtWebKit will have the same effect as +# `all`. If this setting is used with URL patterns, the pattern gets +# applied to the origin/first party URL of the page making the request, +# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped +# from URLs, so URL patterns using paths will not match. With +# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so +# you will typically need to set this setting for `example.com` when the +# cookie is set on `somesubdomain.example.com` for it to work properly. +# To debug issues with this setting, start qutebrowser with `--debug +# --logfilter network --debug-flag log-cookies` which will show all +# cookies being set. +# Type: String +# Valid values: +# - all: Accept all cookies. +# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail. +# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty. +# - never: Don't accept cookies at all. +config.set('content.cookies.accept', 'all', 'chrome-devtools://*') + +# Which cookies to accept. With QtWebEngine, this setting also controls +# other features with tracking capabilities similar to those of cookies; +# including IndexedDB, DOM storage, filesystem API, service workers, and +# AppCache. Note that with QtWebKit, only `all` and `never` are +# supported as per-domain values. Setting `no-3rdparty` or `no- +# unknown-3rdparty` per-domain on QtWebKit will have the same effect as +# `all`. If this setting is used with URL patterns, the pattern gets +# applied to the origin/first party URL of the page making the request, +# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped +# from URLs, so URL patterns using paths will not match. With +# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so +# you will typically need to set this setting for `example.com` when the +# cookie is set on `somesubdomain.example.com` for it to work properly. +# To debug issues with this setting, start qutebrowser with `--debug +# --logfilter network --debug-flag log-cookies` which will show all +# cookies being set. +# Type: String +# Valid values: +# - all: Accept all cookies. +# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail. +# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty. +# - never: Don't accept cookies at all. +config.set('content.cookies.accept', 'all', 'devtools://*') + +# Store cookies. +# Type: Bool +c.content.cookies.store = False + +# Allow websites to share screen content. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.desktop_capture', True, 'https://teams.microsoft.com') + +# Allow websites to request geolocations. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.geolocation', False, 'https://elmers.doitbest.com') + +# Value to send in the `Accept-Language` header. Note that the value +# read from JavaScript is always the global value. +# Type: String +config.set('content.headers.accept_language', '', 'https://matchmaker.krunker.io/*') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. With QtWebEngine +# between 5.12 and 5.14 (inclusive), changing the value exposed to +# JavaScript requires a restart. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. With QtWebEngine +# between 5.12 and 5.14 (inclusive), changing the value exposed to +# JavaScript requires a restart. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 Firefox/90.0', 'https://accounts.google.com/*') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. With QtWebEngine +# between 5.12 and 5.14 (inclusive), changing the value exposed to +# JavaScript requires a restart. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*') + +# Enable the ad/host blocker +# Type: Bool +c.content.blocking.enabled = True + +# A list of patterns that should always be loaded, despite being blocked +# by the ad-/host-blocker. Local domains are always exempt from +# adblocking. Note this whitelists otherwise blocked requests, not +# first-party URLs. As an example, if `example.org` loads an ad from +# `ads.example.org`, the whitelist entry could be +# `https://ads.example.org/*`. If you want to disable the adblocker on a +# given page, use the `content.blocking.enabled` setting with a URL +# pattern instead. +# Type: List of UrlPattern +c.content.blocking.whitelist = ['insights.dice.com'] + +# Load images automatically in web pages. +# Type: Bool +config.set('content.images', True, 'chrome-devtools://*') + +# Load images automatically in web pages. +# Type: Bool +config.set('content.images', True, 'devtools://*') + +# Enable JavaScript. +# Type: Bool +c.content.javascript.enabled = True + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'chrome-devtools://*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'devtools://*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'chrome://*/*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'qute://*/*') + +# Allow websites to record audio. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.media.audio_capture', True, 'https://teams.microsoft.com') + +# Allow websites to record audio and video. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.media.audio_video_capture', True, 'https://teams.microsoft.com') + +# Allow websites to record video. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.media.video_capture', True, 'https://teams.microsoft.com') + +# Allow websites to register protocol handlers via +# `navigator.registerProtocolHandler`. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.register_protocol_handler', False, 'https://mail.google.com?extsrc=mailto&url=%25s') + +# How to proceed on TLS certificate errors. +# Type: String +# Valid values: +# - ask: Ask how to proceed for every certificate error (unless non-overridable due to HSTS). +# - ask-block-thirdparty: Ask how to proceed for normal page loads, but silently block resource loads. +# - block: Automatically block loading on certificate errors. +# - load-insecurely: Force loading pages despite certificate errors. This is *insecure* and should be avoided. Instead of using this, consider fixing the underlying issue or importing a self-signed certificate via `certutil` (or Chromium) instead. +c.content.tls.certificate_errors = 'ask' + +# Enable WebGL. +# Type: Bool +c.content.webgl = False + +# When to show the statusbar. +# Type: String +# Valid values: +# - always: Always show the statusbar. +# - never: Always hide the statusbar. +# - in-mode: Show the statusbar when in modes other than normal mode. +c.statusbar.show = 'always' + +# Padding (in pixels) for the statusbar. +# Type: Padding +c.statusbar.padding = {'bottom': 2, 'left': 2, 'right': 2, 'top': 2} + +# When to show favicons in the tab bar. When switching this from never +# to always/pinned, note that favicons might not be loaded yet, thus +# tabs might require a reload to display them. +# Type: String +# Valid values: +# - always: Always show favicons. +# - never: Always hide favicons. +# - pinned: Show favicons only on pinned tabs. +c.tabs.favicons.show = 'never' + +# When to show the tab bar. +# Type: String +# Valid values: +# - always: Always show the tab bar. +# - never: Always hide the tab bar. +# - multiple: Hide the tab bar if only one tab is open. +# - switching: Show the tab bar when switching tabs. +c.tabs.show = 'multiple' + +# Format to use for the tab title. The following placeholders are +# defined: * `{perc}`: Percentage as a string like `[10%]`. * +# `{perc_raw}`: Raw percentage, e.g. `10`. * `{current_title}`: Title of +# the current web page. * `{title_sep}`: The string `" - "` if a title +# is set, empty otherwise. * `{index}`: Index of this tab. * +# `{aligned_index}`: Index of this tab padded with spaces to have the +# same width. * `{id}`: Internal tab ID of this tab. * `{scroll_pos}`: +# Page scroll position. * `{host}`: Host of the current web page. * +# `{backend}`: Either `webkit` or `webengine` * `{private}`: Indicates +# when private mode is enabled. * `{current_url}`: URL of the current +# web page. * `{protocol}`: Protocol (http/https/...) of the current web +# page. * `{audio}`: Indicator for audio/mute status. +# Type: FormatString +c.tabs.title.format = '{audio}{index}: {host} [{current_title}]' + +# Page to open if :open -t/-b/-w is used without URL. Use `about:blank` +# for a blank page. +# Type: FuzzyUrl +c.url.default_page = 'localhost:9001/bookmarks.html' + +# Search engines which can be used via the address bar. Maps a search +# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}` +# placeholder. The placeholder will be replaced by the search term, use +# `{{` and `}}` for literal `{`/`}` braces. The following further +# placeholds are defined to configure how special characters in the +# search terms are replaced by safe characters (called 'quoting'): * +# `{}` and `{semiquoted}` quote everything except slashes; this is the +# most sensible choice for almost all search engines (for the search +# term `slash/and&` this placeholder expands to `slash/and%26amp`). +# * `{quoted}` quotes all characters (for `slash/and&` this +# placeholder expands to `slash%2Fand%26amp`). * `{unquoted}` quotes +# nothing (for `slash/and&` this placeholder expands to +# `slash/and&`). * `{0}` means the same as `{}`, but can be used +# multiple times. The search engine named `DEFAULT` is used when +# `url.auto_search` is turned on and something else than a URL was +# entered to be opened. Other search engines can be used by prepending +# the search engine name to the search term, e.g. `:open google +# qutebrowser`. +# Type: Dict +c.url.searchengines = {'DEFAULT': 'https://kagi.com/search/?q={}'} + +# Page(s) to open at the start. +# Type: List of FuzzyUrl, or FuzzyUrl +c.url.start_pages = 'localhost:9001/bookmarks.html' + +# 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. +# Type: List of QtColor, or QtColor +c.colors.completion.fg = '#93a1a1' + +# Background color of the completion widget for odd rows. +# Type: QssColor +c.colors.completion.odd.bg = '#002b36' + +# Background color of the completion widget for even rows. +# Type: QssColor +c.colors.completion.even.bg = '#002b36' + +# Foreground color of completion widget category headers. +# Type: QtColor +c.colors.completion.category.fg = '#c9c9c9' + +# Background color of the completion widget category headers. +# Type: QssColor +c.colors.completion.category.bg = 'black' + +# Foreground color of the selected completion item. +# Type: QtColor +c.colors.completion.item.selected.fg = 'black' + +# Background color of the selected completion item. +# Type: QssColor +c.colors.completion.item.selected.bg = '#1f9b92' + +# Top border color of the selected completion item. +# Type: QssColor +c.colors.completion.item.selected.border.top = '#1f9b92' + +# Bottom border color of the selected completion item. +# Type: QssColor +c.colors.completion.item.selected.border.bottom = '#1f9b92' + +# Foreground color of the matched text in the selected completion item. +# Type: QtColor +c.colors.completion.item.selected.match.fg = 'black' + +# Foreground color of the matched text in the completion. +# Type: QtColor +c.colors.completion.match.fg = '#c9c9c9' + +# Color of the scrollbar handle in the completion view. +# Type: QssColor +c.colors.completion.scrollbar.fg = '#1f9b92' + +# Color of the scrollbar in the completion view. +# Type: QssColor +c.colors.completion.scrollbar.bg = '#002b36' + +# Background color of the context menu. If set to null, the Qt default +# is used. +# Type: QssColor +c.colors.contextmenu.menu.bg = 'black' + +# Foreground color of the context menu. If set to null, the Qt default +# is used. +# Type: QssColor +c.colors.contextmenu.menu.fg = '#c9c9c9' + +# Background color of the context menu's selected item. If set to null, +# the Qt default is used. +# Type: QssColor +c.colors.contextmenu.selected.bg = '#1f9b92' + +# Foreground color of the context menu's selected item. If set to null, +# the Qt default is used. +# Type: QssColor +c.colors.contextmenu.selected.fg = 'black' + +# Background color of disabled items in the context menu. If set to +# null, the Qt default is used. +# Type: QssColor +c.colors.contextmenu.disabled.bg = 'black' + +# Foreground color of disabled items in the context menu. If set to +# null, the Qt default is used. +# Type: QssColor +c.colors.contextmenu.disabled.fg = '#797979' + +# Color gradient start for download text. +# Type: QtColor +c.colors.downloads.start.fg = '#93a1a1' + +# Color gradient start for download backgrounds. +# Type: QtColor +c.colors.downloads.start.bg = '#002b36' + +# Color gradient end for download text. +# Type: QtColor +c.colors.downloads.stop.fg = 'black' + +# Color gradient stop for download backgrounds. +# Type: QtColor +c.colors.downloads.stop.bg = '#1f9b92' + +# Foreground color for downloads with errors. +# Type: QtColor +c.colors.downloads.error.fg = 'black' + +# Background color for downloads with errors. +# Type: QtColor +c.colors.downloads.error.bg = '#cc221f' + +# Foreground color for prompts. +# Type: QssColor +c.colors.prompts.fg = '#c9c9c9' + +# Background color for prompts. +# Type: QssColor +c.colors.prompts.bg = 'black' + +# Foreground color for the selected item in filename prompts. +# Type: QssColor +c.colors.prompts.selected.fg = 'black' + +# Background color for the selected item in filename prompts. +# Type: QssColor +c.colors.prompts.selected.bg = '#1f9b92' + +# Foreground color of the statusbar. +# Type: QssColor +c.colors.statusbar.normal.fg = '#c9c9c9' + +# Foreground color of the statusbar in insert mode. +# Type: QssColor +c.colors.statusbar.insert.fg = 'black' + +# Background color of the statusbar in insert mode. +# Type: QssColor +c.colors.statusbar.insert.bg = '#1f9b92' + +# Foreground color of the statusbar in passthrough mode. +# Type: QssColor +c.colors.statusbar.passthrough.fg = '#1f9b92' + +# Background color of the statusbar in passthrough mode. +# Type: QssColor +c.colors.statusbar.passthrough.bg = 'black' + +# Foreground color of the statusbar in command mode. +# Type: QssColor +c.colors.statusbar.command.fg = '#c9c9c9' + +# Foreground color of the statusbar in caret mode. +# Type: QssColor +c.colors.statusbar.caret.fg = '#93a1a1' + +# Background color of the statusbar in caret mode. +# Type: QssColor +c.colors.statusbar.caret.bg = '#002b36' + +# Foreground color of the statusbar in caret mode with a selection. +# Type: QssColor +c.colors.statusbar.caret.selection.fg = 'black' + +# Background color of the statusbar in caret mode with a selection. +# Type: QssColor +c.colors.statusbar.caret.selection.bg = '#1f9b92' + +# Default foreground color of the URL in the statusbar. +# Type: QssColor +c.colors.statusbar.url.fg = '#c9c9c9' + +# Foreground color of the URL in the statusbar on error. +# Type: QssColor +c.colors.statusbar.url.error.fg = '#cc221f' + +# Foreground color of the URL in the statusbar for hovered links. +# Type: QssColor +c.colors.statusbar.url.hover.fg = '#1f9b92' + +# Foreground color of the URL in the statusbar on successful load +# (http). +# Type: QssColor +c.colors.statusbar.url.success.http.fg = '#c9c9c9' + +# Foreground color of the URL in the statusbar on successful load +# (https). +# Type: QssColor +c.colors.statusbar.url.success.https.fg = '#c9c9c9' + +# Color gradient start for the tab indicator. +# Type: QtColor +c.colors.tabs.indicator.start = '#002b36' + +# Color gradient end for the tab indicator. +# Type: QtColor +c.colors.tabs.indicator.stop = '#1f9b92' + +# Color for the tab indicator on errors. +# Type: QtColor +c.colors.tabs.indicator.error = '#cc221f' + +# Foreground color of unselected odd tabs. +# Type: QtColor +c.colors.tabs.odd.fg = 'gray' + +# Background color of unselected odd tabs. +# Type: QtColor +c.colors.tabs.odd.bg = 'black' + +# Foreground color of unselected even tabs. +# Type: QtColor +c.colors.tabs.even.fg = 'grey' + +# Background color of unselected even tabs. +# Type: QtColor +c.colors.tabs.even.bg = 'black' + +# Foreground color of selected odd tabs. +# Type: QtColor +c.colors.tabs.selected.odd.fg = '#c9c9c9' + +# Foreground color of selected even tabs. +# Type: QtColor +c.colors.tabs.selected.even.fg = '#c9c9c9' + +# Value to use for `prefers-color-scheme:` for websites. The "light" +# value is only available with QtWebEngine 5.15.2+. On older versions, +# it is the same as "auto". The "auto" value is broken on QtWebEngine +# 5.15.2 due to a Qt bug. There, it will fall back to "light" +# unconditionally. +# Type: String +# Valid values: +# - auto: Use the system-wide color scheme setting. +# - light: Force a light theme. +# - dark: Force a dark theme. +c.colors.webpage.preferred_color_scheme = 'dark' + +# Default font families to use. Whenever "default_family" is used in a +# font setting, it's replaced with the fonts listed here. If set to an +# empty value, a system-specific monospace default is used. +# Type: List of Font, or Font +c.fonts.default_family = 'sauce code pro nerd font' + +# Default font size to use. Whenever "default_size" is used in a font +# setting, it's replaced with the size listed here. Valid values are +# either a float value with a "pt" suffix, or an integer value with a +# "px" suffix. +# Type: String +c.fonts.default_size = '9pt' + +# Font family for standard fonts. +# Type: FontFamily +c.fonts.web.family.standard = 'Unifont' + +# Font family for sans-serif fonts. +# Type: FontFamily +c.fonts.web.family.sans_serif = 'unifont' diff --git a/tint2rc b/tint2rc index 6ac0aab..addb65e 100644 --- a/tint2rc +++ b/tint2rc @@ -133,9 +133,9 @@ task_tooltip = 1 task_thumbnail = 1 task_thumbnail_size = 198 task_font_color = #c9c9c9 100 -task_normal_font_color = #c9c9c9 100 -task_active_font_color = #ffffff 100 -task_iconified_font_color = #c9c9c9 40 +task_normal_font_color = #797979 100 +task_active_font_color = #c9c9c9 100 +task_iconified_font_color = #797979 70 task_background_id = 2 task_active_background_id = 3 task_iconified_background_id = 2 @@ -295,7 +295,7 @@ execp_mclick_command = execp_uwheel_command = execp_dwheel_command = execp_font = SauceCodePro Nerd Font Mono 12 -execp_font_color = #93a1a1 100 +execp_font_color = #c9c9c9 100 execp_padding = 8 0 execp_background_id = 0 execp_centered = 0