diff options
| -rw-r--r-- | .config/tmux/tmux.conf | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 9822a73..dafaf7f 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -219,20 +219,48 @@ set-option -sa terminal-overrides ",xterm*:Tc,alacritty*:Tc" #bind -n M-9 select-window -t :=9 #bind -n M-0 select-window -t :=0 +# Colors for pane borders(default) +setw -g pane-border-style fg=white +setw -g pane-active-border-style fg=green + +# Active pane normal, other shaded out +setw -g window-style fg=colour240 +setw -g window-active-style fg=white + + #set -g focus-events on #set -g status-style bg=default -#set -g status-left-length 90 -#set -g status-right-length 90 +# Set the position of window lists #set -g status-justify centre -set -g status-justify centre +# Set the status bar position +set -g status-position bottom # [top, bottom] set -g status on set -g status-interval 1 -# Scripts -set -g status-left-length 50 -set -g status-left-style default -set -g status-left "#h #( ~/.config/tmux/left-status.sh )" +set -g status-style fg=black,bg=gray + +#set -g status-left-style default +# Display the session name +#set -g status-left "#[fg=green] ❐ #S #[default]" + +## Left +set -g status-left '' +set -g status-left-length 60 +set -g status-left "#[fg=black] ❐ #S #( ~/.config/tmux/left-status.sh )" + +# Highlight the current window. +setw -g window-status-current-style fg=gray,bg=black,bright +set -g window-status-current-format ' #I #W ' +#set -g status-format[0] '#[align=left] ❐ #S #( ~/.config/tmux/left-status.sh )#[align=absolute-centre]#[list=on] #I #W #[nolist]#[align=right] %H:%M %d-%m-%Y #H ' +set -g status-justify absolute-centre +## Right +# Set right side status bar length and style +set-option -g status-right "" +set -g status-right-length 60 +#set -g status-right-length 140 +#set -g status-right-style default +set -ag status-right "#[fg=black] %H:%M %d-%m-%Y #H " # list of plugins set -g @plugin 'tmux-plugins/tpm' |
