mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-24 17:25:25 -07:00
Kaj Forney
4fdc60b6a2
Former-commit-id: 9f5a64d372
Former-commit-id: 89d8a1302bd2a72239fbe9ad9820be4ecda76cab
79 lines
1.9 KiB
Bash
79 lines
1.9 KiB
Bash
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-cpu'
|
|
set -g @plugin 'tmux-plugins/tmux-net-speed'
|
|
#set -g @plugin 'tmux-plugins/tmux-battery'
|
|
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
|
|
|
#If you don't want TMUX Resurrect, comment these three out...
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
set -g @continuum-restore 'on'
|
|
|
|
set -g mouse off
|
|
|
|
# panes
|
|
set -g pane-border-fg black
|
|
set -g pane-active-border-fg brightred
|
|
|
|
## Status bar design
|
|
# status line
|
|
# set -g status-utf8 on
|
|
set -g status-justify left
|
|
set -g status-interval 2
|
|
|
|
|
|
# Info on left (I don't have a session display for now)
|
|
set -g status-left ''
|
|
|
|
# loud or quiet?
|
|
set-option -g visual-activity off
|
|
set-option -g visual-bell off
|
|
set-option -g visual-silence off
|
|
set-window-option -g monitor-activity off
|
|
set-option -g bell-action none
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
# The modes {
|
|
setw -g clock-mode-colour colour135
|
|
setw -g mode-attr bold
|
|
|
|
# }
|
|
# The panes {
|
|
|
|
# }
|
|
# The statusbar {
|
|
|
|
set -g @net_speed_interfaces "enp3s0f2 wlp2s0"
|
|
set -g @download_speed_format "%10s"
|
|
set -g @upload_speed_format "%10s"
|
|
set -g @net_speed_format "D:%10s U:%10s"
|
|
|
|
set -g status-position bottom
|
|
set -g status-attr dim
|
|
set -g status-left '#{prefix_highlight}'
|
|
set -g status-right 'CPU: #{cpu_percentage} | #[fg=colour233,bg=colour245,bold] #H | %H:%M:%S '
|
|
set -g status-right-length 50
|
|
set -g status-left-length 20
|
|
|
|
setw -g window-status-current-attr bold
|
|
|
|
|
|
setw -g window-status-attr none
|
|
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
|
|
setw -g window-status-bell-attr bold
|
|
setw -g window-status-bell-fg colour255
|
|
setw -g window-status-bell-bg colour1
|
|
|
|
# }
|
|
# The messages {
|
|
|
|
set -g message-attr bold
|
|
|
|
# }
|
|
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|