1
0
Fork 0
mirror of synced 2024-12-04 14:45:38 -05:00

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 5b9df82184
commit d9a9f81e4c

View file

@ -477,8 +477,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"