Added mem/cpu load and time/date to tmux
This commit is contained in:
parent
626ef335f2
commit
e7212f0e18
15
tmux.conf
15
tmux.conf
@ -1,13 +1,26 @@
|
||||
# Plugind
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'thewtex/tmux-mem-cpu-load'
|
||||
|
||||
# Install `tpm` if needed.
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
# Activate the plugins.
|
||||
run -b "~/.tmux/plugins/tpm/tpm"
|
||||
|
||||
set-option -g status-position bottom
|
||||
set-option -g default-terminal "screen-256color"
|
||||
set-option -sa terminal-features ',xterm-256color:RGB'
|
||||
set-option -sg escape-time 1
|
||||
set-option -g focus-events on
|
||||
|
||||
set -g status-interval 2
|
||||
set -g status-bg black
|
||||
set -g status-fg brightblack
|
||||
set -g status-left ''
|
||||
set -g status-right ' #h: #S'
|
||||
set -g status-right ' #($TMUX_PLUGIN_MANAGER_PATH/tmux-mem-cpu-load/tmux-mem-cpu-load --interval 2) | %H:%M | %d-%b-%Y'
|
||||
set -g status-right-length 100
|
||||
|
||||
# Use normal and bright monochrome colors to show a tab line on the left.
|
||||
set -g status-justify left
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user