panel: refactor colors + new wifi+audio icons

This commit is contained in:
Henrik Lissner 2016-11-03 18:48:09 +01:00
parent 5126091213
commit 0b9e8b69d2

View file

@ -13,17 +13,17 @@ for ((i=0;i<=END;i++)); do
COLOR[$i]=$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}") COLOR[$i]=$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}")
done done
BG="$(xrdb -query | awk '/^\*\.background:/ {print $2}')" bg="$(xrdb -query | awk '/^\*\.background:/ {print $2}')"
FG="$(xrdb -query | awk '/^\*\.foreground:/ {print $2}')" fg="$(xrdb -query | awk '/^\*\.foreground:/ {print $2}')"
# FG="#bbc2cf" # FG="#bbc2cf"
# BG="#e022252c" # BG="#e022252c"
COLOR[FG]="$FG" COLOR[FG]="$fg"
COLOR[BG]="#e0${BG#?}" COLOR[BG]="#e0${bg#?}"
COLOR[HL]="#185b75" COLOR[HL]="#185b75"
COLOR[DIM]="#155872" COLOR[DIM]="#155872"
COLOR[ALTBG]="#FF${BG#?}" COLOR[ALTBG]="#FF${bg#?}"
COLOR_MONITOR_FG="#8dbcdf" COLOR_MONITOR_FG="#8dbcdf"
COLOR_MONITOR_BG="${COLOR[BG]}" COLOR_MONITOR_BG="${COLOR[BG]}"
@ -53,22 +53,25 @@ ICON[web]="\ue26d"
ICON[chat]="\ue19f" ICON[chat]="\ue19f"
ICON[file]="\ue1e1" ICON[file]="\ue1e1"
ICON[music]="\ue1a6" ICON[music]="\ue1a6"
ICON[misc]="\ue140" ICON[games]="\ue140" # ghost
# clock icons # clock icons
ICON[date]="\ue267" ICON[date]="\ue267"
ICON[time]="\ue016" ICON[time]="\ue016"
# wireless icons # wireless icons
ICON[wifioff]="\ue21a" # ICON[wifioff]="\ue21a"
ICON[wifi0]="\ue25d" # ICON[wifi1]="\ue25e"
ICON[wifi1]="\ue25e" # ICON[wifi2]="\ue25f"
ICON[wifi2]="\ue25f" # ICON[wifi3]="\ue260"
ICON[wifi3]="\ue260" # ICON[wifi4]="\ue261"
ICON[wifi4]="\ue261" ICON[wifioff]="\ue217"
ICON[wifi1]="\ue218"
ICON[wifi2]="\ue219"
ICON[wifi3]="\ue21a"
# media player icons # media player icons
ICON[play]="\ue058" ICON[play]="\ue058"
ICON[pause]="\ue09b" ICON[pause]="\ue09b"
ICON[stop]="\ue099" ICON[stop]="\ue099"
ICON[muted]="\ue202" ICON[muted]="\ue04f"
ICON[speaker]="\ue203" ICON[speaker]="\ue05d"
# misc # misc
ICON[mail]="\ue070" ICON[mail]="\ue070"