From 1f4b5618acc5d0fc00de7fb738f0b4e900290a68 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 20 Nov 2018 07:44:22 +0100 Subject: [PATCH] Added battery status --- tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index da77df5..7fdfa1e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -7,12 +7,15 @@ set -g default-terminal "screen-256color" set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'seebi/tmux-colors-solarized' +set -g @plugin 'tmux-plugins/tmux-battery' # Other examples: # set -g @plugin 'github_username/plugin_name' # set -g @plugin 'git@github.com/user/plugin' # set -g @plugin 'git@bitbucket.com/user/plugin' +set -g status-right 'Batt: #{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'