diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index e05471a..796f00f 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -62,15 +62,82 @@ bind-key C-x kill-window set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-pain-control' -set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'Morantron/tmux-fingers' -# custom right bar uses powerline/default/blue as base, adds bind-key indicator (prefix_highlight) -# to use it go to your theme and disable the right status bar (by commenting it out) -set -g status-right "#{prefix_highlight} #[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H " - -set -g @plugin 'jimeh/tmux-themepack' -set -g @themepack 'powerline/default/blue' - run -b "${TMUX_PLUGIN_MANAGER_PATH}/tpm/tpm" + +## Begin theming > theme from github.com/jimeh/tmux-themepack, the powerline/default/blue theme. +## It is integrated with prefix highlight for this tmux conf + +# Status update interval +set -g status-interval 1 + +# Basic status bar colors +set -g status-fg colour238 +set -g status-bg colour233 + +# Left side of status bar +set -g status-left-bg colour233 +set -g status-left-fg colour243 +set -g status-left-length 40 +set -g status-left "#[fg=colour232,bg=colour24,bold] #S #[fg=colour24,bg=colour240,nobold]#[fg=colour233,bg=colour240] #(whoami) #[fg=colour240,bg=colour235]#[fg=colour240,bg=colour235] #I:#P #[fg=colour235,bg=colour233,nobold]" + +# Right side of status bar +set -g status-right-bg colour233 +set -g status-right-fg colour243 +set -g status-right-length 150 +set -g status-right "#{prefix_highlight} #[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] #H " +# Sets both Prefix mode and Copy mode to be highlighted in the status bar. +set -g @prefix_highlight_show_copy_mode 'on' +set -g @prefix_highlight_copy_mode_attr 'fg=black,bg=yellow,bold' # default is 'fg=default,bg=yellow' +set -g @prefix_highlight_prefix_prompt 'Command' +set -g @prefix_highlight_copy_prompt 'Copy' + +# Window status +set -g window-status-format " #I:#W#F " +set -g window-status-current-format "#[fg=colour233,bg=black]#[fg=colour33,nobold] #I:#W#F #[fg=colour233,bg=black,nobold]" + +# Current window status +set -g window-status-current-bg colour100 +set -g window-status-current-fg colour235 + +# Window with activity status +set -g window-status-activity-bg colour245 # fg and bg are flipped here due to +set -g window-status-activity-fg colour233 # a bug in tmux + +# Window separator +set -g window-status-separator "" + +# Window status alignment +set -g status-justify centre + +# Pane border +set -g pane-border-bg default +set -g pane-border-fg colour238 + +# Active pane border +set -g pane-active-border-bg default +set -g pane-active-border-fg colour24 + +# Pane number indicator +set -g display-panes-colour colour233 +set -g display-panes-active-colour colour245 + +# Clock mode +set -g clock-mode-colour colour24 +set -g clock-mode-style 24 + +# Message +set -g message-bg colour24 +set -g message-fg black + +# Command message +set -g message-command-bg colour233 +set -g message-command-fg black + +# Mode +set -g mode-bg colour24 +set -g mode-fg colour231 +