mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Make use of the status prefix in the examples
This commit is contained in:
parent
42afe4ad11
commit
355f0ae607
3 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
;;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue