Added current battery percentage to tmux info-bar
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user