mirror of https://github.com/xzeldon/dotfiles.git
tmux statusbar
This commit is contained in:
parent
3282d25e69
commit
a0f3ecddf8
20
.tmux.conf
20
.tmux.conf
|
@ -28,6 +28,26 @@ set -g remain-on-exit on
|
|||
# Turn the mouse on, but without copy mode dragging
|
||||
set -g mouse on
|
||||
|
||||
# Status bar
|
||||
set-option -g status on
|
||||
set-option -g status-interval 1
|
||||
set-option -g status-justify centre
|
||||
set-option -g status-keys vi
|
||||
set-option -g status-position bottom
|
||||
set-option -g status-style fg=colour136,bg=colour235
|
||||
set-option -g status-left-length 20
|
||||
set-option -g status-left-style default
|
||||
set-option -g status-left "#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r)#[default]"
|
||||
set-option -g status-right-length 140
|
||||
set-option -g status-right-style default
|
||||
set-option -g status-right "#[fg=green,bg=default,bright]#(tmux-mem-cpu-load) "
|
||||
set-option -ag status-right "#[fg=red,dim,bg=default]#(uptime | cut -f 4-5 -d ' ' | cut -f 1 -d ',') "
|
||||
set-option -ag status-right " #[fg=white,bg=default]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d"
|
||||
set-window-option -g window-status-style fg=colour244
|
||||
set-window-option -g window-status-style bg=default
|
||||
set-window-option -g window-status-current-style fg=colour166
|
||||
set-window-option -g window-status-current-style bg=default
|
||||
|
||||
# Some extra key bindings to select higher numbered windows
|
||||
bind F1 selectw -t:10
|
||||
bind F2 selectw -t:11
|
||||
|
|
Loading…
Reference in New Issue