diff --git a/tmux/tmux.conf b/tmux/tmux.conf index d63ced6..8be2c6e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,4 +1,80 @@ -set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support -set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 +# don't automatically rename windows +set-option -g allow-rename off + +# Reload the file with Prefix r. +bind r source-file ~/.tmux.conf \; display "Reloaded!" + +###################### +### DESIGN CHANGES ### +###################### + +# panes +set -g pane-border-style fg=black +set -g pane-active-border-style fg=brightred + +## Status bar design +set -g status-justify left +set -g status-bg default +set -g status-fg colour12 +set -g status-interval 2 + +# messaging +set -g message-style fg=black,bg=yellow +set -g message-command-style fg=blue,bg=black + +#window mode +setw -g mode-style fg=colour0,bg=colour6 + +# window status +setw -g window-status-format " #F#I:#W#F " +setw -g window-status-current-format " #F#I:#W#F " +setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W " +setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W " +setw -g window-status-current-style fg=colour11,bg=colour0,dim +setw -g window-status-style fg=black,bg=green,reverse + +# 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 "xterm" + +# The modes +setw -g clock-mode-colour colour135 +setw -g mode-style fg=colour196,bg=colour238,bold + +# The panes +set -g pane-border-style fg=colour238,bg=colour235 +set -g pane-active-border-style fg=colour51,bg=colour236 + +# The statusbar +set -g status-position bottom +set -g status-style fg=colour137,bg=colour234,dim +set -g status-left '' +set -g status-right '#[fg=colour233,bg=colour241,bold] %d %b %Y #[fg=colour233,bg=colour245,bold] %H:%M:%S ' +set -g status-right-length 50 +set -g status-left-length 20 + +setw -g window-status-current-style fg=colour81,bg=colour238,bold +setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F ' + +setw -g window-status-style fg=colour138,bg=colour235,none +setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' + +setw -g window-status-bell-style fg=colour255,bg=colour1,bold + +# The messages +set -g message-style fg=colour232,bg=colour166,bold + +# undercurl support +set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' +# underscore colours - needs tmux-3.0 +set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' set -g default-terminal 'wezterm'