dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 65bc4021063ac006dcf616e0d35fd0df93d578f8
parent 34a03e25f4fe4c373519ee9df63129c0a31300be
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  4 Mar 2019 20:53:10 +0100

Use foreground and background colors from Xresources

Diffstat:
Mlinks/.config/i3/config | 32+++++++++++++-------------------
1 file changed, 13 insertions(+), 19 deletions(-)

diff --git a/links/.config/i3/config b/links/.config/i3/config @@ -57,6 +57,8 @@ for_window [instance="mpcdd"] border pixel 2 for_window [instance="mpcdd"] sticky enable # Set Xresources colors: +set_from_resource $foreground foreground #000000 +set_from_resource $background background #000000 set_from_resource $darkblack color0 #000000 set_from_resource $black color8 #000000 set_from_resource $darkred color1 #000000 @@ -75,19 +77,11 @@ set_from_resource $darkwhite color7 #000000 set_from_resource $white color15 #000000 set $transparent #00000000 -set_from_resource $c_active color12 -set_from_resource $c_active_txt color15 -set_from_resource $c_inactive color0 -set_from_resource $c_inactive_txt color15 -set_from_resource $c_urgent color9 -set_from_resource $c_urgent_txt color8 -set_from_resource $background color0 - -# colorclass border backgr. text indicator child_border -client.focused $c_active $c_active $c_active_txt $darkblue $darkblue -client.unfocused $c_inactive $c_inactive $white $blue $c_inactive -client.focused_inactive $c_inactive $c_inactive $white $c_inactive $c_inactive -client.urgent $c_urgent $c_urgent $c_urgent_txt $c_urgent $c_urgent +# colorclass border backgr. text indicator child_border +client.focused $foreground $background $background $foreground $foreground +client.unfocused $background $background $foreground $background $background +client.focused_inactive $background $background $foreground $background $background +client.urgent $red $red $black $red $red client.background $background # Use Mouse+$mod to drag floating windows to their wanted position @@ -240,15 +234,15 @@ bar { colors { - background $background + background $darkblack statusline $darkwhite separator $black - # colorclass <border> <backgr.> <text> - focused_workspace $c_active $c_active $c_active_txt - active_workspace $c_inactive $c_inactive $c_inactive_txt - inactive_workspace $c_inactive $c_inactive $c_inactive_txt - urgent_workspace $c_urgent $c_urgent $c_urgent_txt + # colorclass <border> <backgr.> <text> + focused_workspace $foreground $foreground $background + active_workspace $background $background $foreground + inactive_workspace $background $background $foreground + urgent_workspace $red $red $black } }