aboutsummaryrefslogtreecommitdiff
path: root/Panel/lemonbar
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2017-01-04 15:02:39 +0000
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2017-01-04 15:02:39 +0000
commitfa054b62e97dabc9b5a23cb007ee2fa613607514 (patch)
tree9b83b2cfb19f91c8e2c6e48868333b51f546698a /Panel/lemonbar
parent8ec30433a956bee8973531c67c7a928b3ba1b117 (diff)
downloaddotfiles-fa054b62e97dabc9b5a23cb007ee2fa613607514.tar.gz
dotfiles-fa054b62e97dabc9b5a23cb007ee2fa613607514.tar.bz2
dotfiles-fa054b62e97dabc9b5a23cb007ee2fa613607514.zip
major updates
Diffstat (limited to 'Panel/lemonbar')
-rwxr-xr-xPanel/lemonbar/panel2
-rwxr-xr-xPanel/lemonbar/panel_bar33
2 files changed, 7 insertions, 28 deletions
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