aboutsummaryrefslogtreecommitdiff
path: root/Panel/lemonbar
diff options
context:
space:
mode:
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