From fa054b62e97dabc9b5a23cb007ee2fa613607514 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Wed, 4 Jan 2017 15:02:39 +0000 Subject: major updates --- Panel/lemonbar/panel | 2 +- Panel/lemonbar/panel_bar | 33 ++++++--------------------------- 2 files changed, 7 insertions(+), 28 deletions(-) (limited to 'Panel/lemonbar') diff --git a/Panel/lemonbar/panel b/Panel/lemonbar/panel index cbf6301..8058e56 100755 --- a/Panel/lemonbar/panel +++ b/Panel/lemonbar/panel @@ -1,5 +1,5 @@ #! /bin/sh -cd ~/.tools/panel +cd ~/dotfiles/Panel/lemonbar . ./profile . ~/.colors 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 -- cgit v1.2.3-54-g00ecf