aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/panel_bar
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-03-15 00:54:36 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-03-15 00:54:36 +0100
commit02dbe85011616cc97332c7e56e39a8989c45de08 (patch)
tree2e13d80b0a2afc806b92c078ab9ac144fd31ba92 /ratpoison/panel/panel_bar
parenta58d24aac0bdb7dd0f006818d9f30f9deadbb6b1 (diff)
downloaddotfiles-02dbe85011616cc97332c7e56e39a8989c45de08.tar.gz
dotfiles-02dbe85011616cc97332c7e56e39a8989c45de08.tar.bz2
dotfiles-02dbe85011616cc97332c7e56e39a8989c45de08.zip
efficiency + battery
Diffstat (limited to 'ratpoison/panel/panel_bar')
-rwxr-xr-xratpoison/panel/panel_bar44
1 files changed, 21 insertions, 23 deletions
diff --git a/ratpoison/panel/panel_bar b/ratpoison/panel/panel_bar
index 6ccf74b..24ec723 100755
--- a/ratpoison/panel/panel_bar
+++ b/ratpoison/panel/panel_bar
@@ -8,19 +8,16 @@ num_mon=$(bspc query -M | wc -l)
while read -r line ; do
source ./panel_colors
case $line in
- C*)
- # playing mpc
- cpu="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} C:${line#?} %{B-}%{F-}"
- ;;
- R*)
- # playing mpc
- ram="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} R:${line#?} %{B-}%{F-}"
- ;;
-
- S*)
- # playing mpc
- signal="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} S:${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-}"
+# ;;
p*)
# playing mpc
@@ -40,7 +37,7 @@ source ./panel_colors
B*)
- # volume output
+ # battery output
battery="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} B:${line#?} %{B-}%{F-}"
;;
@@ -50,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
@@ -121,5 +118,6 @@ source ./panel_colors
done
;;
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}${cpu}${ram}${essid}${signal}${volume}${musicvol}${battery}${time_infos} "
+ printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${volume}${musicvol}${battery}${time_infos} "
done