Fix macOS battery percentage display
This commit is contained in:
parent
91118d58ac
commit
1d2a5f249d
@ -126,8 +126,8 @@ setw -g status-style fg=colour240,bg=colour233
|
||||
|
||||
# Right status style, show data and time (and battery percentage on macOS).
|
||||
if '[ "`uname`" = "Darwin" ]' \
|
||||
'setw -g status-right "↯#(pmset -g batt | grep --color=never -Eo "\\d+%%")\
|
||||
%a %d-%m-%y %H:%M "' \
|
||||
'setw -g status-right "#(pmset -g batt | grep --color=never -Eo \"\\d+%%\")\
|
||||
↯ %a %d-%m-%y %H:%M "' \
|
||||
'setw -g status-right "%a %d-%m-%y %H:%M "'
|
||||
setw -g status-right-style fg=white,bg=colour233
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user