Compare commits
1 Commits
7d4cba095e
...
02ef2dcb85
Author | SHA1 | Date |
---|---|---|
|
02ef2dcb85 |
|
@ -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]"
|
||||
|
|
Loading…
Reference in New Issue