Fix missing tmux-mem-cpu-load scenario in tmux

This commit is contained in:
Henrik Lissner 2015-12-22 04:08:47 -05:00
parent 143818c0fa
commit 1df299e842

View file

@ -24,9 +24,11 @@ else
HOST=$(color bg black)$(color fg yellow)
fi
STATUS=$DELIM'<< '$RESET
STATUS+=$SYSINFO$(tmux-mem-cpu-load -i 5)$RESET
STATUS+=$DELIM' < '$RESET
STATUS="$DELIM<<$RESET"
STATUS+=$SYSINFO
command -v 'tmux-mem-cpu-load' >/dev/null && STATUS+=$(tmux-mem-cpu-load -i 5)
STATUS+=$RESET
STATUS+="$DELIM < $RESET"
STATUS+=$IP
STATUS+=$(dig +short myip.opendns.com @208.67.222.222)
STATUS+=' '$RESET$HOST' '