summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/statusbar_bar1
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/statusbar_bar1')
-rwxr-xr-x.local/bin/statusbar/statusbar_bar14
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/statusbar_bar1 b/.local/bin/statusbar/statusbar_bar1
index 1aff3a9..16297ef 100755
--- a/.local/bin/statusbar/statusbar_bar1
+++ b/.local/bin/statusbar/statusbar_bar1
@@ -29,7 +29,7 @@ while read -r line ; do
# monitor
FG=$COLOR_MONITOR_FG
BG=$COLOR_MONITOR_BG
- on_focused_monitor=
+ on_focused_monitor=0
;;
M*)
# focused monitor
@@ -39,7 +39,7 @@ while read -r line ; do
;;
esac
[ $num_mon -lt 2 ] && shift && continue
- wm="${wm}%{F${FG}}%{B${BG}}%{A:bspc monitor -f ${name}:} ${name} %{A}%{B-}%{F-}"
+ wm="%{S${on_focused_monitor}}${wm}%{F${FG}}%{B${BG}}%{A:bspc monitor -f ${name}:} ${name} %{A}%{B-}%{F-}"
;;
[fFoOuU]*)
case $item in