Make use of the status prefix in the examples

This commit is contained in:
Bastien Dejean 2013-04-02 19:50:32 +02:00
parent 42afe4ad11
commit 355f0ae607
3 changed files with 6 additions and 6 deletions

View file

@ -10,14 +10,14 @@ while read -r line ; do
T*)
title="\\c${line#?}"
;;
*)
W*)
wm_infos=""
IFS=':'
set - $line
set - ${line#?}
while [ $# -gt 0 ] ; do
item=$1
case $item in
[Dd_]!*)
[d_]!*)
# urgent desktop
wm_infos="$wm_infos \\b3\\f0${item#??}\\fr\\br"
;;

View file

@ -37,10 +37,10 @@ while read -r line ; do
T*)
title="^fg($COLOR_TITLE_FG)^bg($COLOR_TITLE_BG)${PADDING}${line#?}${PADDING}"
;;
*)
W*)
wm_infos="$PADDING"
IFS=$FIELDIFS
set - $line
set - ${line#?}
while [ $# -gt 0 ] ; do
item=$1
case $item in

View file

@ -1,3 +1,3 @@
[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
mkfifo "$PANEL_FIFO"
exec bspwm -s "$PANEL_FIFO"
exec bspwm -s "$PANEL_FIFO" -p W