From f448749fa10b55d2b819ece0afb6639402bcd76c Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 24 Nov 2016 14:41:02 +0000 Subject: massive performance and bug fixes --- Panel/lemonbar/panel_bar | 64 ++++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'Panel/lemonbar/panel_bar') diff --git a/Panel/lemonbar/panel_bar b/Panel/lemonbar/panel_bar index 620d223..3d29d4f 100755 --- a/Panel/lemonbar/panel_bar +++ b/Panel/lemonbar/panel_bar @@ -6,38 +6,38 @@ num_mon=$(bspc query -M | wc -l) . ./icons while read -r line ; do case $line in - Imail) - mbsync -a > /dev/null - if [ `rpws current` -eq 9 ];then - mail='' - else - mail="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MAIL} %{B-}%{F-}" - fi - ;; - - Iface) - if [ `rpws current` -eq 10 ];then - face='' - else - face="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_FACE} %{B-}%{F-}" - fi - ;; - - Ipub) - if [ `rpws current` -eq 10 ];then - pub='' - else - pub="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PUB} %{B-}%{F-}" - fi - ;; - - Ipriv) - if [ `rpws current` -eq 10 ];then - priv='' - else - priv="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PRIV} %{B-}%{F-}" - fi - ;; +# Imail) +# mbsync -a > /dev/null +# if [ `rpws current` -eq 9 ];then +# mail='' +# else +# mail="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MAIL} %{B-}%{F-}" +# fi +# ;; +# +# Iface) +# if [ `rpws current` -eq 10 ];then +# face='' +# else +# face="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_FACE} %{B-}%{F-}" +# fi +# ;; +# +# Ipub) +# if [ `rpws current` -eq 10 ];then +# pub='' +# else +# pub="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PUB} %{B-}%{F-}" +# fi +# ;; +# +# Ipriv) +# if [ `rpws current` -eq 10 ];then +# priv='' +# else +# priv="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PRIV} %{B-}%{F-}" +# fi +# ;; Iclear) priv="" pub="" -- cgit v1.2.3-54-g00ecf