Add lightning bolt to macOS battery display

This commit is contained in:
Kenneth Benzie 2020-12-03 22:35:24 +00:00
parent eda4a020bf
commit ef4dddfd40

View File

@ -127,7 +127,7 @@ 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+%%")\
'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