From bc2f82b9cf8302aed19a38d62a7f54dc5d352486 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Thu, 23 Nov 2023 15:05:08 +0100 Subject: [PATCH] Change tmux theme and keybindings. --- .config/tmux/tmux.conf | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 91d8b3f..9f20bd4 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -33,11 +33,10 @@ bind '"' split-window -v -c "#{pane_current_path}" bind '\' split-window -h -c "#{pane_current_path}" # Floating popup keybindings -bind-key t run-shell 'tmux-popup zsh' bind-key g run-shell 'tmux-popup lazygit' bind-key f run-shell 'tmux-popup nnn' bind-key h run-shell 'tmux-popup htop' -bind-key g run-shell 'tmux-popup t' +bind-key t run-shell 'tmux-popup t' # Vim keybindings for pane movement setw -g mode-keys vi @@ -54,22 +53,23 @@ set -g detach-on-destroy off # Catppuccin settings set -g @catppuccin_flavour 'frappe' -set -g @catppuccin_window_left_separator "█" -set -g @catppuccin_window_right_separator "█ " +set -g @catppuccin_window_right_separator "█ " set -g @catppuccin_window_number_position "right" -set -g @catppuccin_window_middle_separator " █" +set -g @catppuccin_window_middle_separator " | " -set -g @catppuccin_window_default_fill "number" +set -g @catppuccin_window_default_fill "none" -set -g @catppuccin_window_current_fill "number" -set -g @catppuccin_window_current_text "#{pane_current_path}" +set -g @catppuccin_window_current_fill "all" -set -g @catppuccin_status_modules "application session date_time" -set -g @catppuccin_status_left_separator "" -set -g @catppuccin_status_right_separator " " -set -g @catppuccin_status_right_separator_inverse "yes" -set -g @catppuccin_status_fill "all" -set -g @catppuccin_status_connect_separator "no" +set -g @catppuccin_status_modules_right "application session date_time" +set -g @catppuccin_status_left_separator "█" +set -g @catppuccin_status_right_separator "█" + +set -g @catppuccin_date_time_text "%Y-%m-%d %H:%M" + +# Status bar border +setw -g pane-border-status top +setw -g pane-border-format '─' # Bar to top set-option -g status-position top @@ -80,6 +80,7 @@ set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'catppuccin/tmux' +set -g @plugin 'tmux-plugins/tmux-battery' set -g @plugin 'wfxr/tmux-fzf-url' run '~/.tmux/plugins/tpm/tpm'