adding load to tmux status bar, only tested on linux

This commit is contained in:
Andrew Davidson 2019-06-06 18:22:16 -04:00
parent 09c6b5e5cb
commit bd91b743fe
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6

View file

@ -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