From bd91b743feb993a9c135702339b28f88f8f6a4dc Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 6 Jun 2019 18:22:16 -0400 Subject: [PATCH] adding load to tmux status bar, only tested on linux --- tmux/.tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index eea0aeb..d7de143 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -15,7 +15,8 @@ set-window-option -g window-status-current-bg colour236 set-window-option -g window-status-current-fg colour141 # Add some info to the status bar -set -g status-right "#H | up #(uptime | awk '{print $3 \" \" $4}' | sed 's/,//') | Mem: #(~/bin/tmux-free-memory.sh) free" +set -g status-right-length 70 +set -g status-right "#H | up #(uptime | awk '{print $3 \" \" $4}' | sed 's/,//') | Mem: #(~/bin/tmux-free-memory.sh) free | Load: #(uptime | awk '{print $10, $11, $12}')" # Auto-set window title setw -g automatic-rename