aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/panel_bar
diff options
context:
space:
mode:
authorvaskozl <vasil.zlatanov@gmail.com>2015-03-22 22:37:54 +0100
committervaskozl <vasil.zlatanov@gmail.com>2015-03-22 22:37:54 +0100
commite366454a04173840e41cbe2394dba4a476b76937 (patch)
tree209f68a8726ed15ca1db1a70580bcfaa9a4ddaec /ratpoison/panel/panel_bar
parent89ef190e34412cf3ac63a5961a98a52e84a43746 (diff)
parenta351f6a842d3f5a0edc1360515585a6355dea04a (diff)
downloaddotfiles-e366454a04173840e41cbe2394dba4a476b76937.tar.gz
dotfiles-e366454a04173840e41cbe2394dba4a476b76937.tar.bz2
dotfiles-e366454a04173840e41cbe2394dba4a476b76937.zip
Merge branch 'master' of github.com:Vaskozl/dotfiles
Diffstat (limited to 'ratpoison/panel/panel_bar')
-rwxr-xr-xratpoison/panel/panel_bar32
1 files changed, 16 insertions, 16 deletions
diff --git a/ratpoison/panel/panel_bar b/ratpoison/panel/panel_bar
index 24ec723..55f2403 100755
--- a/ratpoison/panel/panel_bar
+++ b/ratpoison/panel/panel_bar
@@ -8,13 +8,13 @@ num_mon=$(bspc query -M | wc -l)
while read -r line ; do
source ./panel_colors
case $line in
-# C*)
-# cpu="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} C:${line#?} %{B-}%{F-}"
-# ;;
-# R*)
-# ram="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} R:${line#?} %{B-}%{F-}"
-# ;;
-#
+ C*)
+ cpu="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} C:${line#?} %{B-}%{F-}"
+ ;;
+ R*)
+ ram="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} R:${line#?} %{B-}%{F-}"
+ ;;
+
# S*)
# signal="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} S:${line#?} %{B-}%{F-}"
# ;;
@@ -47,14 +47,14 @@ source ./panel_colors
volume="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} V:${line#?} %{B-}%{F-}"
;;
-# E*)
-# # essid output
-# if [ -z ${line#?} ];then
-# essid="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} E:No WiFi %{B-}%{F-}"
-# else
-# essid="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} E:${line#?} %{B-}%{F-}"
-# fi
-# ;;
+ E*)
+ # essid output
+ if [ -z ${line#?} ];then
+ essid="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} E:No WiFi %{B-}%{F-}"
+ else
+ essid="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} E:${line#?} %{B-}%{F-}"
+ fi
+ ;;
Z*)
# clock output
@@ -119,5 +119,5 @@ source ./panel_colors
;;
esac
# printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${cpu}${ram}${essid}${signal}${volume}${musicvol}${battery}${time_infos} "
- printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${volume}${musicvol}${battery}${time_infos} "
+ printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${cpu}${ram}${volume}${musicvol}${battery}${time_infos} "
done