aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/panel_bar
diff options
context:
space:
mode:
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