From 995b975105c24b6dbf08c354d291a2996f5149a0 Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Thu, 14 Oct 2021 12:01:00 +0200 Subject: [PATCH] Changed tmux status line to show battery percentage and time instead of connection speed. --- dotfiles/.tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index 5758371..15ad70c 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -10,13 +10,14 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-net-speed' set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-battery' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @resurrect-capture-pane-contents 'on' # Settings -set -g status-right "#{net_speed}" +set -g status-right "#{battery_status_bg} Batt: #{battery_percentage} | %H:%M" set-option -g default-shell /bin/zsh # default shell set -g default-terminal "screen-256color" setw -g mode-keys vi