From 9728c3109d71693e0bdb1ef0f66d14417a944173 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 5 Nov 2016 01:50:32 +0100 Subject: [PATCH] bspwm: tweak colors + paddingless_monocle = false --- os/arch/.config/bspwm/bspwmrc | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/os/arch/.config/bspwm/bspwmrc b/os/arch/.config/bspwm/bspwmrc index 99d115a1..c2256a5f 100755 --- a/os/arch/.config/bspwm/bspwmrc +++ b/os/arch/.config/bspwm/bspwmrc @@ -2,15 +2,15 @@ bspc config border_width 5 bspc config window_gap 11 -bspc config top_padding 22 +bspc config top_padding 24 # bspc config bottom_padding 0 # bspc config left_padding 0 # bspc config right_padding 0 bspc config split_ratio 0.50 -bspc config borderless_monocle true bspc config gapless_monocle true -bspc config paddingless_monocle true +bspc config borderless_monocle true +bspc config paddingless_monocle false bspc config click_to_focus true @@ -18,9 +18,15 @@ bspc config click_to_focus true # Appearance # -bspc config normal_border_color "#373b41" -bspc config active_border_color "#1C1E20" -bspc config focused_border_color "#22252c" +declare -A COLOR +END=15 +for ((i=0;i<=END;i++)); do + COLOR[$i]=$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}") +done + +bspc config normal_border_color "${COLOR[4]}" +bspc config focused_border_color "${COLOR[0]}" +bspc config active_border_color "${COLOR[13]}" # @@ -29,8 +35,8 @@ bspc config focused_border_color "#22252c" i=1 for monitor in $(bspc query -M); do - bspc monitor $monitor -n "$i" -d $i/{desktop,web,code,chat,art,music} - echo $i/{desktop,web,code,chat,art,music} > /tmp/bspwm-monitor-$i + bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} + echo $i/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} > /tmp/bspwm-monitor-$i let i++ done NMON=$i