Add lightning bolt to macOS battery display
This commit is contained in:
parent
eda4a020bf
commit
ef4dddfd40
@ -127,7 +127,7 @@ setw -g status-style fg=colour240,bg=colour233
|
|||||||
|
|
||||||
# Right status style, show data and time (and battery percentage on macOS).
|
# Right status style, show data and time (and battery percentage on macOS).
|
||||||
if '[ "`uname`" = "Darwin" ]' \
|
if '[ "`uname`" = "Darwin" ]' \
|
||||||
'setw -g status-right "#(pmset -g batt | grep --color=never -Eo "\\d+%%")\
|
'setw -g status-right "↯#(pmset -g batt | grep --color=never -Eo "\\d+%%")\
|
||||||
%a %d-%m-%y %H:%M "' \
|
%a %d-%m-%y %H:%M "' \
|
||||||
'setw -g status-right "%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
|
setw -g status-right-style fg=white,bg=colour233
|
||||||
|
Loading…
x
Reference in New Issue
Block a user