summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/statusbar_bar1
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-19 20:57:17 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-19 20:57:17 -0700
commit2587f3f30c1757fc6609b9ab9294e12700c195b6 (patch)
tree342c9f99f7681228880879c6faa0f4e5019fa46a /.local/bin/statusbar/statusbar_bar1
parent1a2357773586ee8421379de4070f71da40d1c679 (diff)
Finally have a working bspwm + sxhkd + lemonbar, still WIP¿
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