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

on machines without battery
main
Michael Mandl 2020-06-22 09:05:18 +02:00
parent 80658f58b4
commit a9bacc4cc5
1 changed files with 1 additions and 1 deletions

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'