aboutsummaryrefslogtreecommitdiff
path: root/Panel/lemonbar
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-04-02 23:45:45 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-04-02 23:45:45 +0100
commit6b6fe496e0c46818a89ae47a892add7bb2587577 (patch)
treeed080bcbb6b445f4a27f5942b41939c7e144f2b3 /Panel/lemonbar
parent2c62e4351d1e4ccb39ea47680015efef4f13161b (diff)
downloaddotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.tar.gz
dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.tar.bz2
dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.zip
fix push notifications among other things
Diffstat (limited to 'Panel/lemonbar')
-rwxr-xr-xPanel/lemonbar/panel_bar8
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-}"