From 6b6fe496e0c46818a89ae47a892add7bb2587577 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 2 Apr 2016 23:45:45 +0100 Subject: fix push notifications among other things --- Panel/lemonbar/panel_bar | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Panel/lemonbar/panel_bar') diff --git a/Panel/lemonbar/panel_bar b/Panel/lemonbar/panel_bar index 99370d8..620d223 100755 --- a/Panel/lemonbar/panel_bar +++ b/Panel/lemonbar/panel_bar @@ -8,7 +8,7 @@ while read -r line ; do case $line in Imail) mbsync -a > /dev/null - if bspc control --get-status | grep OIX > /dev/null;then + if [ `rpws current` -eq 9 ];then mail='' else mail="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MAIL} %{B-}%{F-}" @@ -16,7 +16,7 @@ while read -r line ; do ;; Iface) - if bspc control --get-status | grep OX > /dev/null;then + if [ `rpws current` -eq 10 ];then face='' else face="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_FACE} %{B-}%{F-}" @@ -24,7 +24,7 @@ while read -r line ; do ;; Ipub) - if bspc control --get-status | grep OX > /dev/null;then + if [ `rpws current` -eq 10 ];then pub='' else pub="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PUB} %{B-}%{F-}" @@ -32,7 +32,7 @@ while read -r line ; do ;; Ipriv) - if bspc control --get-status | grep OX > /dev/null;then + if [ `rpws current` -eq 10 ];then priv='' else priv="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PRIV} %{B-}%{F-}" -- cgit v1.2.3-54-g00ecf