PANEL_FIFO=/tmp/panel-fifo # Customization ######################## PANEL_HEIGHT=24 PANEL_FONT="terminus:size=9:antialias=false" ICON_FONT="siji:size=9:antialias=false" # Colors declare -A COLOR END=15 for ((i=0;i<=END;i++)); do COLOR[$i]=$(xrdb -query | awk "/^\*\.color$i:/ {print \$2}") done bg="$(xrdb -query | awk '/^\*\.background:/ {print $2}')" fg="$(xrdb -query | awk '/^\*\.foreground:/ {print $2}')" # FG="#bbc2cf" # BG="#e022252c" COLOR[FG]="$fg" COLOR[BG]="#e0${bg#?}" COLOR[HL]="#185b75" COLOR[DIM]="#155872" COLOR[ALTBG]="#FF${bg#?}" COLOR_MONITOR_FG="#8dbcdf" COLOR_MONITOR_BG="${COLOR[BG]}" COLOR_FOCUSED_MONITOR_FG="#b1d0e8" COLOR_FOCUSED_MONITOR_BG="${COLOR[BG]}" COLOR_FREE_FG="${COLOR[DIM]}" COLOR_FREE_BG="${COLOR[BG]}" COLOR_FOCUSED_FREE_FG="${COLOR[0]}" COLOR_FOCUSED_FREE_BG="#00000000" COLOR_OCCUPIED_FG="#a7a5a5" COLOR_OCCUPIED_BG="${COLOR[BG]}" COLOR_FOCUSED_OCCUPIED_FG="#d6d3d2" COLOR_FOCUSED_OCCUPIED_BG="#00000000" COLOR_URGENT_FG="${COLOR[1]}" COLOR_URGENT_BG="${COLOR[BG]}" COLOR_FOCUSED_URGENT_FG="#501d1f" COLOR_FOCUSED_URGENT_BG="#d5443e" COLOR_STATE_FG="#89b09c" COLOR_STATE_BG="${COLOR[BG]}" declare -A ICON # bspwm desktop icons ICON[desktop]="\ue1d7" ICON[code]="\ue1ec" ICON[art]="\ue1c7" ICON[web]="\ue26d" ICON[chat]="\ue19f" ICON[file]="\ue1e1" ICON[music]="\ue1a6" ICON[games]="\ue140" # ghost # clock icons ICON[date]="\ue267" ICON[time]="\ue016" # wireless icons # ICON[wifioff]="\ue21a" # ICON[wifi1]="\ue25e" # ICON[wifi2]="\ue25f" # ICON[wifi3]="\ue260" # ICON[wifi4]="\ue261" ICON[wifioff]="\ue217" ICON[wifi1]="\ue218" ICON[wifi2]="\ue219" ICON[wifi3]="\ue21a" # media player icons ICON[play]="\ue058" ICON[pause]="\ue09b" ICON[stop]="\ue099" ICON[muted]="\ue04f" ICON[speaker]="\ue05d" # misc ICON[mail]="\ue070"