aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/panel_bar
diff options
context:
space:
mode:
authorvaskozl <vasil.zlatanov@gmail.com>2015-03-15 10:32:23 +0100
committervaskozl <vasil.zlatanov@gmail.com>2015-03-15 10:32:23 +0100
commitfb6adf8e60a1875ff6a5ea2574c783d9023ea5d7 (patch)
tree098c07115f0f08ff795ae74ae00c419a8cb9cee0 /ratpoison/panel/panel_bar
parentd9925d31e86b652913d0364684b1dadc70ecf2a7 (diff)
parent02dbe85011616cc97332c7e56e39a8989c45de08 (diff)
downloaddotfiles-fb6adf8e60a1875ff6a5ea2574c783d9023ea5d7.tar.gz
dotfiles-fb6adf8e60a1875ff6a5ea2574c783d9023ea5d7.tar.bz2
dotfiles-fb6adf8e60a1875ff6a5ea2574c783d9023ea5d7.zip
Merge branch 'master' of github.com:Vaskozl/dotfiles
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