From 2587f3f30c1757fc6609b9ab9294e12700c195b6 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Sat, 19 Dec 2020 20:57:17 -0700 Subject: Finally have a working bspwm + sxhkd + lemonbar, still WIP¿ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local/bin/statusbar/statusbar_bar1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/statusbar/statusbar_bar1') 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 -- cgit v1.2.3-70-g09d2