Compare commits

..

1 Commits

1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ set-option -g status-left "[#S] "
set-option -g status-right ""
# The current power battery level
set-option -ag status-right '#(test -d /sys/class/power_supply/BAT0/capacity && printf " [%%s%%%%]" "$(cat /sys/class/power_supply/BAT0/capacity)")'
set-option -ag status-right '#(test -d /sys/class/power_supply/BAT0 && printf " [%%s%%%%]" "$(cat /sys/class/power_supply/BAT0/capacity)")'
# Current date and time, in case it's relevant, and has drifted
set-option -ag status-right " [%Y-%m-%d %H:%M:%S]"