From d46534b9343c28c99e8e1538676cc3206ad9bffc Mon Sep 17 00:00:00 2001 From: xzeldon Date: Mon, 12 Sep 2022 01:56:44 +0300 Subject: [PATCH] increase `status-left-length`, change tmux-mem-cpu-load output --- .tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index f971896..eb38e00 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -39,12 +39,12 @@ set-option -g status-justify centre set-option -g status-keys vi set-option -g status-position bottom set-option -g status-style fg=colour136,bg=colour235 -set-option -g status-left-length 20 +set-option -g status-left-length 30 set-option -g status-left-style default set-option -g status-left "#[fg=green]#H #[fg=green,bright]#(uname -r)#[default]" set-option -g status-right-length 140 set-option -g status-right-style default -set-option -g status-right "#[fg=green,bg=default,bright]#(tmux-mem-cpu-load --interval 3 --graph-lines 5) " +set-option -g status-right "#[fg=green,bg=default,bright]#(tmux-mem-cpu-load -i 3 -a 0 -g 0 | sed 's/ //') " set-option -ag status-right "#[fg=red,dim,bg=default]#(uptime | cut -f 4-5 -d ' ' | cut -f 1 -d ',') " set-option -ag status-right "#[fg=white,bg=default]%a %H:%M:%S #[fg=blue]%Y-%m-%d" set-window-option -g window-status-style fg=colour244