1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| set -g base-index 1 setw -g pane-base-index 1
set-option -g renumber-windows on
set -g mouse on
set -g base-index 1 setw -g pane-base-index 1
set -g status-keys vi
set -g status-style fg=white,bg=blue
set -g window-status-style bg=yellow set -g window-status-current-style bg=red,fg=white
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-cpu' set -g @plugin 'xamut/tmux-network-bandwidth'
set -g status-style "fg=#2188ff,bg=#1f2428" set -g status-left-length "100" set -g status-right-length "100" set -g status-left-length 20 set -g status-left "#[fg=#1f2428,bg=#2188ff,bold] #S #[fg=#2188ff,bg=#1f2428,nobold,nounderscore,noitalics]" set -g status-right "#[fg=#1f2428,bg=#1f2428,nobold,nounderscore,noitalics]#[fg=#1f2428,bg=#1f2428] #{prefix_highlight} #[fg=#e1e4e8,bg=#1f2428,nobold,nounderscore,noitalics]#[fg=#586069,bg=#e1e4e8] %Y-%m-%d %I:%M %p #[fg=#2188ff,bg=#e1e4e8,nobold,nounderscore,noitalics]#[fg=#1f2428,bg=#2188ff,bold] CPU: #{cpu_percentage}#[fg=#1f2428,bg=#2188ff,bold] MEM: #{ram_percentage}#[fg=#2188ff,bg=#2188ff,bold] "
new -s lz -n win1 -c ~
select-window -t win1 splitw -v -p 50 -t win1 -c ~/
new-window -n win2 -c ~/ select-window -t win2 splitw -v -p 50 -t win2 -c ~/
new-window -n sys -c ~/ select-window -t sys splitw -h -p 50 -t sys send-keys -t lz:sys.2 "htop" Enter
select-window -t win1 select-pane -t 1
|