mirror of
1
0
Fork 0

split _battery() into _battery_status() and _battery_bar() to refresh #{battery_status} more quickly (2)

This commit is contained in:
Gregory Pakosz 2022-12-28 21:43:00 +01:00
parent 5c41188a31
commit cca37fb84e
1 changed files with 1 additions and 2 deletions

View File

@ -471,8 +471,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
#
# battery_percentage="$(awk "BEGIN { printf \"%.0f%%\", ($charge) * 100 }")"
#
# tmux set -g '@battery_status' "$battery_status" \;\
# set -g '@battery_bar' "$battery_bar" \;\
# tmux set -g '@battery_bar' "$battery_bar" \;\
# set -g '@battery_hbar' "$battery_hbar" \;\
# set -g '@battery_vbar' "$battery_vbar" \;\
# set -g '@battery_percentage' "$battery_percentage"