diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2017-01-04 15:02:39 +0000 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2017-01-04 15:02:39 +0000 |
commit | fa054b62e97dabc9b5a23cb007ee2fa613607514 (patch) | |
tree | 9b83b2cfb19f91c8e2c6e48868333b51f546698a /Panel/lemonbar/panel_bar | |
parent | 8ec30433a956bee8973531c67c7a928b3ba1b117 (diff) | |
download | dotfiles-fa054b62e97dabc9b5a23cb007ee2fa613607514.tar.gz dotfiles-fa054b62e97dabc9b5a23cb007ee2fa613607514.tar.bz2 dotfiles-fa054b62e97dabc9b5a23cb007ee2fa613607514.zip |
major updates
Diffstat (limited to 'Panel/lemonbar/panel_bar')
-rwxr-xr-x | Panel/lemonbar/panel_bar | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/Panel/lemonbar/panel_bar b/Panel/lemonbar/panel_bar index 6918969..40a2b27 100755 --- a/Panel/lemonbar/panel_bar +++ b/Panel/lemonbar/panel_bar @@ -10,38 +10,17 @@ while read -r line ; do mbsync -a > /dev/null mail="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MAIL} %{B-}%{F-}" ;; - -# 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="" face="" ;; Ixlear) - mail='' - ;; + mail='' + ;; + M*) + notification="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${line#?} %{B-}%{F-}" + ;; # C*) # cpu="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} C:${line#?} %{B-}%{F-}" # ;; @@ -136,5 +115,5 @@ while read -r line ; do # ;; esac # printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${cpu}${ram}${essid}${signal}${volume}${musicvol}${battery}${time_infos} " - printf "%s\n" "%{l}${desktop}${wm_infos}%{r}${face}${priv}${pub}${mail}${playing}${paused}${cpu}${ram}${volume}${musicvol}${battery}${time_infos}" + printf "%s\n" "%{l}${desktop}${wm_infos}%{r}${notification}${face}${priv}${pub}${mail}${playing}${paused}${cpu}${ram}${volume}${musicvol}${battery}${time_infos}" done |