adding load to tmux status bar, only tested on linux
This commit is contained in:
parent
09c6b5e5cb
commit
bd91b743fe
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue