From ff66c93966c3be1ef67d1a06335a5c36eb587bf3 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 3 Dec 2022 22:29:05 +0200 Subject: Add left-status script to show ip address, memory usage and if connected to a vpn --- .config/tmux/tmux.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.config/tmux/tmux.conf') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 8130c7f..9822a73 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -224,6 +224,15 @@ set-option -sa terminal-overrides ",xterm*:Tc,alacritty*:Tc" #set -g status-left-length 90 #set -g status-right-length 90 #set -g status-justify centre +set -g status-justify centre +set -g status on +set -g status-interval 1 + + +# Scripts +set -g status-left-length 50 +set -g status-left-style default +set -g status-left "#h #( ~/.config/tmux/left-status.sh )" # list of plugins set -g @plugin 'tmux-plugins/tpm' @@ -233,6 +242,7 @@ set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'christoomey/vim-tmux-navigator' #set -g @plugin 'tmux-plugins/tmux-yank' + # Plugins settings # Plugin to save and restore tmux sessions after restart # * Save with: prefix + Ctrl-s -- cgit v1.2.3