From 771587e39a431670e0a021547e2b2c1603079fa7 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Wed, 20 Dec 2023 01:46:15 +0100 Subject: [PATCH] more cleanup, better colors --- config/foot/foot.ini | 62 ++++++++++++++++++------------------ config/kak/kakrc | 58 --------------------------------- config/qutebrowser/config.py | 24 +++++++------- 3 files changed, 43 insertions(+), 101 deletions(-) diff --git a/config/foot/foot.ini b/config/foot/foot.ini index c9199c81..0f3cfe2b 100644 --- a/config/foot/foot.ini +++ b/config/foot/foot.ini @@ -80,37 +80,37 @@ label-letters=adfghjkl [colors] alpha=0.90 -background=242124 -foreground=f5f5f5 -# flash=7f7f00 -# flash-alpha=0.5 - -## Normal/regular colors (color palette 0-7) -regular0=242424 # black -# regular1=f62b5a # red -# regular2=47b413 # green -regular2=91bc61 # bright green -regular3=ffb852 # yellow -# regular4=24acd4 # blue -regular4=5d81d2 -regular5=776d96 # magenta -# regular6=13c299 # cyan -regular6=90e0e0 -regular7=f5f5f5 # white - -## Bright colors (color palette 8-15) -bright0=3d4c59 # bright black -# bright1=ff4d51 # bright red -# bright2=35d450 # bright green -bright2=91bc61 # bright green -# bright3=e9e836 # bright yellow -bright3=ffb852 # bright yellow -# bright4=5dc5f8 # bright blue -bright4=5d81d2 -# bright5=feabf2 # bright magenta -bright5=776d96 # magenta -# bright6=24dfc4 # bright cyan -bright6=90e0e0 +# background=242124 +# foreground=f5f5f5 +# # flash=7f7f00 +# # flash-alpha=0.5 + +# ## Normal/regular colors (color palette 0-7) +# regular0=242424 # black +# # regular1=f62b5a # red +# # regular2=47b413 # green +# regular2=91bc61 # bright green +# regular3=ffb852 # yellow +# # regular4=24acd4 # blue +# regular4=5d81d2 +# regular5=776d96 # magenta +# # regular6=13c299 # cyan +# regular6=90e0e0 +# regular7=f5f5f5 # white + +# ## Bright colors (color palette 8-15) +# bright0=f5f5f5 # bright black +# # bright1=ff4d51 # bright red +# # bright2=35d450 # bright green +# bright2=91bc61 # bright green +# # bright3=e9e836 # bright yellow +# bright3=ffb852 # bright yellow +# # bright4=5dc5f8 # bright blue +# bright4=5d81d2 +# # bright5=feabf2 # bright magenta +# bright5=776d96 # magenta +# # bright6=24dfc4 # bright cyan +# bright6=90e0e0 # bright7=ffffff # bright white ## dimmed colors (see foot.ini(5) man page) diff --git a/config/kak/kakrc b/config/kak/kakrc index bf62166d..a500b949 100644 --- a/config/kak/kakrc +++ b/config/kak/kakrc @@ -155,64 +155,6 @@ set-option global foot_popup_flags '-a kakpopup' set-option global foot_panel_cmd 'foot' -# # suspend and resume -# # # ────────── -# def suspend-and-resume \ -# -params 1..2 \ -# -docstring 'suspend-and-resume []: backgrounds current kakoune client and runs specified cli command. Upon exit of command the optional kak command is executed.' \ -# %{ evaluate-commands %sh{ - -# # Note we are adding '&& fg' which resumes the kakoune client process after the cli command exits -# cli_cmd="$1 && fg" -# post_resume_cmd="$2" - -# # automation is different platform to platform -# platform=$(uname -s) -# case $platform in -# Darwin) -# automate_cmd="sleep 0.01; osascript -e 'tell application \"System Events\" to keystroke \"$cli_cmd\" & return '" -# kill_cmd="/bin/kill" -# break -# ;; -# Linux) -# automate_cmd="sleep 0.2; xdotool type '$cli_cmd'; xdotool key Return" -# kill_cmd="/usr/bin/kill" -# break -# ;; -# esac - -# # Uses platforms automation to schedule the typing of our cli command -# nohup sh -c "$automate_cmd" > /dev/null 2>&1 & -# # Send kakoune client to the background -# $kill_cmd -SIGTSTP $kak_client_pid - -# # ...At this point the kakoune client is paused until the " && fg " gets run in the $automate_cmd - -# # Upon resume, run the kak command is specified -# if [ ! -z "$post_resume_cmd" ]; then -# echo "$post_resume_cmd" -# fi -# }} - -# def for-each-line \ -# -docstring "for-each-line : run command with the value of each line in the file" \ -# -params 2 \ -# %{ evaluate-commands %sh{ - -# while read f; do -# printf "$1 $f\n" -# done < "$2" -# }} - -# def toggle-ranger %{ -# suspend-and-resume \ -# "ranger --choosefiles=/tmp/ranger-files-%val{client_pid}" \ -# "for-each-line edit /tmp/ranger-files-%val{client_pid}" -# } - -# map global user f ': toggle-ranger' -docstring 'select files in ranger' - - # run on file open # ────────────────────────────────────────────────────────────────────────────── hook global BufOpenFile .* %{ diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 1ed25ef0..7396c2d9 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -541,7 +541,7 @@ c.fileselect.handler = 'default' # Type: Int c.hints.min_chars = 2 -c.hints.chars = asdfghjklweruioxcvm +c.hints.chars = 'asdfjklghwertuiovn' # Scatter hint key chains (like Vimium) or not (like dwb). Ignored for # number hints. @@ -1027,27 +1027,27 @@ c.colors.tabs.even.fg = '#eff0f1' # Background color of unselected even tabs. # Type: QtColor -c.colors.tabs.even.bg = '#2a2e32' +c.colors.tabs.even.bg = '#464a4f' # Foreground color of selected odd tabs. # Type: QtColor -c.colors.tabs.selected.odd.fg = '#eff0f1' +c.colors.tabs.selected.odd.fg = '#181818' # Background color of selected odd tabs. # Type: QtColor -c.colors.tabs.selected.odd.bg = '#1d99f3' +c.colors.tabs.selected.odd.bg = '#7CAFC2' # Foreground color of selected even tabs. # Type: QtColor -c.colors.tabs.selected.even.fg = '#eff0f1' +c.colors.tabs.selected.even.fg = '#181818' # Background color of selected even tabs. # Type: QtColor -c.colors.tabs.selected.even.bg = '#1d99f3' +c.colors.tabs.selected.even.bg = '#7CAFC2' # Foreground color of pinned unselected odd tabs. # Type: QtColor -c.colors.tabs.pinned.odd.fg = '#2a2e32' +c.colors.tabs.pinned.odd.fg = '#4a4d4f' # Background color of pinned unselected odd tabs. # Type: QtColor @@ -1055,15 +1055,15 @@ c.colors.tabs.pinned.odd.bg = '#fdbc4b' # Foreground color of pinned unselected even tabs. # Type: QtColor -c.colors.tabs.pinned.even.fg = '#2a2e32' +c.colors.tabs.pinned.even.fg = '#4a4d4f' # Background color of pinned unselected even tabs. # Type: QtColor -c.colors.tabs.pinned.even.bg = '#fdbc4b' +c.colors.tabs.pinned.even.bg = '#e4a944' # Foreground color of pinned selected odd tabs. # Type: QtColor -c.colors.tabs.pinned.selected.odd.fg = '#1d99f3' +c.colors.tabs.pinned.selected.odd.fg = '#000000' # Background color of pinned selected odd tabs. # Type: QtColor @@ -1071,11 +1071,11 @@ c.colors.tabs.pinned.selected.odd.bg = '#fdbc4b' # Foreground color of pinned selected even tabs. # Type: QtColor -c.colors.tabs.pinned.selected.even.fg = '#1d99f3' +c.colors.tabs.pinned.selected.even.fg = '#000000' # Background color of pinned selected even tabs. # Type: QtColor -c.colors.tabs.pinned.selected.even.bg = '#fdbc4b' +c.colors.tabs.pinned.selected.even.bg = '#e4a944' # Background color for webpages if unset (or empty to use the theme's # color). -- 2.51.2