parsing the time amount from the uptime command rather than assuming days, should fix #1, needs more testing.
This commit is contained in:
parent
4c5b049c44
commit
852161c5ce
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ 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}' | sed 's/,//') days | #(~/bin/tmux-free-memory.sh) free"
|
||||
set -g status-right "#H | up #(uptime | awk '{print $3 \" \" $4}' | sed 's/,//') | #(~/bin/tmux-free-memory.sh) free"
|
||||
|
||||
# Auto-set window title
|
||||
setw -g automatic-rename
|
||||
|
|
Loading…
Reference in a new issue