Added current battery percentage to tmux info-bar
This commit is contained in:
parent
99f48e1628
commit
084bb69c96
@ -12,3 +12,6 @@ set -g default-terminal "tmux-256color"
|
|||||||
|
|
||||||
# force utf-8
|
# force utf-8
|
||||||
setw -gq utf8 on
|
setw -gq utf8 on
|
||||||
|
|
||||||
|
# show battery life
|
||||||
|
set -g status-right "#(cat /sys/class/power_supply/BAT0/capacity)% | #[fg=black]%d %b %R"
|
||||||
|
Loading…
Reference in New Issue
Block a user