diff --git a/general/.tmux.conf b/general/.config/tmux/tmux.conf similarity index 85% rename from general/.tmux.conf rename to general/.config/tmux/tmux.conf index 75f6628..c23459a 100644 --- a/general/.tmux.conf +++ b/general/.config/tmux/tmux.conf @@ -12,7 +12,7 @@ unbind % # Unbind default horizontal split # Reload config unbind r bind r \ - source-file ~/.tmux.conf\;\ + source-file $XDG_CONFIG_HOME/tmux/tmux.conf\;\ display-message 'Reloaded tmux.conf' # Switch panes using Alt-hjkl without prefix @@ -46,6 +46,7 @@ bind-key -T copy-mode-vi 'V' send -X select-line bind-key -T copy-mode-vi 'r' send -X rectangle-toggle + # OTHER SETTINGS # Don't rename windows automatically after rename with ',' @@ -72,7 +73,7 @@ set -g pane-base-index 0 ### DESIGN CHANGES ### ###################### -set-option -g status-left '#[fg=green]#(~/.scripts/tmux/fcitx) #[fg=red]%H:%M ' +set-option -g status-left '#[bg=blue]#[fg=black,bold] ###S #[bg=default] #[fg=green]#(~/.scripts/tmux/fcitx) #[fg=red]%H:%M ' set-option -g status-right '#[fg=red]#(~/.scripts/tmux/mpd)' set-window-option -g window-status-current-style fg=magenta set-option -g status-style 'bg=black fg=default' @@ -80,6 +81,14 @@ set-option -g default-shell '/bin/zsh' #OTHER DESIGN CHANGES +set -g status-position bottom +set -g status-interval 4 +set -g status-justify centre # center align window list + +setw -g status-bg default +setw -g window-status-format '#[bg=#888888]#[fg=black,bold] #I #[bg=default] #[fg=#888888]#W ' +setw -g window-status-current-format '#[fg=black,bold]#[bg=cyan] #I #[fg=cyan]#[bg=default] #W ' + # # loud or quiet? # set -g visual-activity off # set -g visual-bell off