Removed "Batt:" string from tmux statusline to prevent it from showing

on machines without battery
This commit is contained in:
Michael Mandl 2020-06-22 09:05:18 +02:00
parent 80658f58b4
commit a9bacc4cc5

View file

@ -34,7 +34,7 @@ set -g @plugin 'tmux-plugins/tmux-battery'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
set -g status-right '#{battery_status_fg}Batt: #{battery_icon} #{battery_percentage} | %H:%M '
set -g status-right '#{battery_status_fg} #{battery_icon} #{battery_percentage} | %H:%M '
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'