os/arch (panel): adapt to new colorscheme+wallpaper combo

This commit is contained in:
Henrik Lissner 2016-12-24 16:21:35 -05:00
parent 5bd407b145
commit 7e07d4b92e
2 changed files with 7 additions and 7 deletions

View file

@ -133,7 +133,7 @@ parse < "${PANEL_FIFO}" | \
-f "$PANEL_FONT" \
-f "$ICON_FONT" \
-F "$COLOR_FG" \
# -B "$COLOR_BG" \
-B "$COLOR_BG" \
| sh &
wait

View file

@ -8,8 +8,7 @@ PANEL_FONT="terminus:size=8:antialias=false"
ICON_FONT="siji:size=7:antialias=false"
# Colors
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
eval "COLOR_$i="$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}")
done
@ -17,7 +16,8 @@ bg="$(xrdb -query | awk '/^\*\.background:/ {print $2}')"
fg="$(xrdb -query | awk '/^\*\.foreground:/ {print $2}')"
COLOR_FG="$fg"
COLOR_BG="#DD${COLOR_0#?}"
COLOR_BG="#D9000000"
# COLOR_BG="#DD${COLOR_0#?}"
COLOR_DIM="#155872"
COLOR_ALTBG="#FF${bg#?}"
@ -31,15 +31,15 @@ COLOR_FOCUSED_MONITOR_BG="${COLOR_4}"
COLOR_FREE_FG="${COLOR_DIM}"
COLOR_FREE_BG="${COLOR_BG}"
COLOR_FOCUSED_FREE_FG="${COLOR_DIM}"
COLOR_FOCUSED_FREE_BG="${COLOR_ALTBG}"
COLOR_FOCUSED_FREE_BG="${COLOR_NONE}"
COLOR_OCCUPIED_FG="#a7a5a5"
COLOR_OCCUPIED_BG="${COLOR_BG}"
COLOR_FOCUSED_OCCUPIED_FG="#d6d3d2"
COLOR_FOCUSED_OCCUPIED_BG="${COLOR_BG}"
COLOR_FOCUSED_OCCUPIED_BG="${COLOR_NONE}"
COLOR_URGENT_FG="${COLOR_1}"
COLOR_URGENT_BG="${COLOR_BG}"
COLOR_FOCUSED_URGENT_FG="#501d1f"
COLOR_FOCUSED_URGENT_BG="${COLOR_BG}"
COLOR_FOCUSED_URGENT_BG="${COLOR_NONE}"
# bspwm desktop icons
ICON_DESKTOP=""