aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/panel_bar
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-03-01 14:09:52 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-03-01 14:09:52 +0100
commitdcfd734112dfbff3ad24c6bdbdea46b9f7919369 (patch)
treee1bb4d1eda7cc2a9596ee89f17b177457deb2a10 /ratpoison/panel/panel_bar
parent2ae2ab7eed7b47af93a0bc4b49f8cfd70d448f82 (diff)
downloaddotfiles-dcfd734112dfbff3ad24c6bdbdea46b9f7919369.tar.gz
dotfiles-dcfd734112dfbff3ad24c6bdbdea46b9f7919369.tar.bz2
dotfiles-dcfd734112dfbff3ad24c6bdbdea46b9f7919369.zip
firefox + panel update
Diffstat (limited to 'ratpoison/panel/panel_bar')
-rwxr-xr-xratpoison/panel/panel_bar13
1 files changed, 11 insertions, 2 deletions
diff --git a/ratpoison/panel/panel_bar b/ratpoison/panel/panel_bar
index 5015464..6ccf74b 100755
--- a/ratpoison/panel/panel_bar
+++ b/ratpoison/panel/panel_bar
@@ -12,6 +12,15 @@ source ./panel_colors
# 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-}"
+ ;;
p*)
# playing mpc
@@ -50,7 +59,7 @@ source ./panel_colors
fi
;;
- S*)
+ Z*)
# clock output
time_infos="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${line#?} %{B-}%{F-}"
;;
@@ -112,5 +121,5 @@ source ./panel_colors
done
;;
esac
- printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${cpu}${essid}${volume}${musicvol}${battery}${time_infos} "
+ printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${cpu}${ram}${essid}${signal}${volume}${musicvol}${battery}${time_infos} "
done