diff --git a/.gitignore b/.gitignore index 386e60b..b507a78 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,9 @@ tags .vim # End of https://www.gitignore.io/api/vim,linux + +# Ignore dynamic colorschemes set by styler +colorscheme.vim +colorscheme +colorscheme.py +colorscheme.rasi diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 304fe1c..224c670 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -47,6 +47,13 @@ endif " set truecolor (neovim) set termguicolors +" load colorscheme from dynamic file +" first one is here to make airline behave correctly without reload +runtime colorscheme.vim +" this one is here to override anything set by default in colorscheme plugin +" loading +autocmd VimEnter * runtime colorscheme.vim + " sets tabs to be 2 characters, expanded into spaces, but still removable with " one press of backspace. " great explanation: http://vimcasts.org/transcripts/2/en/ diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index b9233bc..4222ae0 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -18,14 +18,14 @@ [colors] ;background = ${xrdb:color0:#222} -background = #222 -background-alt = #444 +background = ${xrdb:background} +background-alt = ${xrdb:color8} ;foreground = ${xrdb:color7:#222} -foreground = #dfdfdf -foreground-alt = #555 -primary = #ffb52a -secondary = #e60053 -alert = #bd2c40 +foreground = ${xrdb:foreground} +foreground-alt = ${xrdb:color3} +primary = ${xrdb:color1} +secondary = ${xrdb:color4} +alert = ${xrdb:color2} [settings] ; The throttle settings lets the eventloop swallow up til X events diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 6dbba74..53cdfa1 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -61,8 +61,8 @@ c.tabs.title.format = '{index} {audio}{perc}{current_title}' c.tabs.position = "right" c.tabs.width = "15%" -# give the browser nice nord theme colors -config.source('themes/base16-gruvbox-dark.py') +# give the browser nice theme colors +config.source('colorscheme.py') # Status bar # should be visible to prevent 'jumping' bug, see https://github.com/qutebrowser/qutebrowser/issues/2236 diff --git a/rofi/.config/rofi/themes/dmenu.rasi b/rofi/.config/rofi/themes/dmenu.rasi index c062465..46aab32 100644 --- a/rofi/.config/rofi/themes/dmenu.rasi +++ b/rofi/.config/rofi/themes/dmenu.rasi @@ -22,6 +22,7 @@ #listview { spacing: 5px; lines: 100; + border: 0px; } #entry { diff --git a/rofi/.config/rofi/themes/settings.rasi b/rofi/.config/rofi/themes/settings.rasi index f1d0f5c..93146a1 100644 --- a/rofi/.config/rofi/themes/settings.rasi +++ b/rofi/.config/rofi/themes/settings.rasi @@ -10,6 +10,7 @@ * but try to keep the two separated as much as possible, so we can adjust global options easily from here */ +//default import @import "colorschemes/gruvbox-dark.rasi" * { diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index d435e50..3896a7f 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -30,6 +30,10 @@ super + x super + BackSpace rofi -modi "powermenu:~/.config/rofi/modes/powermenu" -show powermenu -theme themes/powermenu +# quick-switching of theme using styler +super + F8 + styler set $(styler list themes | rofi -dmenu -theme /themes/dmenu -matching fuzzy) + # enable function (/media) key functionality # TODO: set up next song, previous song, pause, etc # see: https://www.reddit.com/r/i3wm/comments/3a6nh3/help_how_to_use_function_keys_in_i3_config/