diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2016-04-02 23:45:45 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2016-04-02 23:45:45 +0100 |
commit | 6b6fe496e0c46818a89ae47a892add7bb2587577 (patch) | |
tree | ed080bcbb6b445f4a27f5942b41939c7e144f2b3 /Panel | |
parent | 2c62e4351d1e4ccb39ea47680015efef4f13161b (diff) | |
download | dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.tar.gz dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.tar.bz2 dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.zip |
fix push notifications among other things
Diffstat (limited to 'Panel')
-rwxr-xr-x | Panel/lemonbar/panel_bar | 8 |
1 files changed, 4 insertions, 4 deletions
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-}" |