diff options
Diffstat (limited to 'bspwm/panel_bar')
-rwxr-xr-x | bspwm/panel_bar | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bspwm/panel_bar b/bspwm/panel_bar index 72e7629..bf0fc6d 100755 --- a/bspwm/panel_bar +++ b/bspwm/panel_bar @@ -18,24 +18,24 @@ while read -r line ; do # IO io_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG}${line#?}%{B-}%{F-}" ;; - B*) - # Battery - bat_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${line#?} %{B-}%{F-}" + B*) + # Battery + bat_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG}${line#?}%{B-}%{F-}" ;; - C*) - # CPU temperature + C*) + # CPU temperature temp_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG}${line#?}°%{B-}%{F-}" ;; - L*) - # CPU load + L*) + # CPU load load_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG}${line#?}%%{B-}%{F-}" ;; - M*) - # Memory usage + M*) + # Memory usage mem_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG}${line#?}%{B-}%{F-}" ;; - N*) - # Network throughput + N*) + # Network throughput net_info="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG}${line#?}%{B-}%{F-}" ;; W*) @@ -85,12 +85,12 @@ while read -r line ; do ;; L*) # layout - #wm_info="$wm_info %{F$COLOR_LAYOUT_FG}%{B$COLOR_LAYOUT_BG} ${name} %{B-}%{F-}" + wm_info="$wm_info%{F$COLOR_LAYOUT_FG}%{B$COLOR_LAYOUT_BG}${name}%{B-}%{F-}" ;; esac shift done ;; esac - printf "%s\n" "%{l}${wm_info} : ${load_info} ${temp_info} : ${mem_info} :${io_info} : ${net_info}%{c} ${title} %{r} ${bat_info}${sys_info}" + printf "%s\n" "%{l}${wm_info} cpu ${load_info} ${temp_info} mem ${mem_info} ${io_info} ${net_info} bat ${bat_info} %{c} ${title} %{r} ${sys_info}" done |