From 08726961ab2fe7935e23b6b31c54a7f5f7f055ef Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Sun, 11 Aug 2024 09:52:12 +0200 Subject: [PATCH] Fix Tmux theme Loaded Catppuccin themes as git submodule. --- .gitmodules | 5 ++++- tmux/.tmux.conf | 14 +++++--------- tmux/.tmux/plugins/tmux | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitmodules b/.gitmodules index a04bfad..696629a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -15,4 +15,7 @@ url = https://git::@github.com/tmux-plugins/tmux-sensible [submodule "tmux/.tmux/plugins/tmux-power"] path = tmux/.tmux/plugins/tmux-power - url = https://git::@github.com/wfxr/tmux-power \ No newline at end of file + url = https://git::@github.com/wfxr/tmux-power +[submodule "tmux/.tmux/plugins/tmux"] + path = tmux/.tmux/plugins/tmux + url = https://github.com/catppuccin/tmux.git diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 5638e61..194e985 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -2,10 +2,14 @@ unbind C-b set -g prefix C-x bind C-x send-prefix + +# Renumbered windows and panels set -g renumber-window on set -g base-index 1 setw -g pane-base-index 1 bind c new-window -c "#{pane_current_path}" + +# Fix Tmux for colors set-option -a terminal-features 'xterm-256color:RGB' set -g allow-passthrough on set -ga update-environment TERM @@ -14,34 +18,26 @@ set -ga update-environment TERM_PROGRAM # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -#set -g @plugin 'erikw/tmux-powerline' set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'wfxr/tmux-power' set -g @plugin 'catppuccin/tmux' -set -g @catppuccin_flavour 'frappe' set-option -g @plugin 'b0o/tmux-autoreload' -# Customizing Tmux Power theme -#set -g @tmux_power_theme '#99c1f1' - # Customizing Catppuccin theme +set -g @catppuccin_flavour 'frappe' set -g @catppuccin_window_left_separator "" set -g @catppuccin_window_right_separator " " set -g @catppuccin_window_middle_separator " █" set -g @catppuccin_window_number_position "right" - set -g @catppuccin_window_default_fill "number" set -g @catppuccin_window_default_text "#W" - set -g @catppuccin_window_current_fill "number" set -g @catppuccin_window_current_text "#W" - set -g @catppuccin_status_modules_right "directory user host session" set -g @catppuccin_status_left_separator " " set -g @catppuccin_status_right_separator "" set -g @catppuccin_status_fill "icon" set -g @catppuccin_status_connect_separator "no" - set -g @catppuccin_directory_text "#{pane_current_path}" # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) diff --git a/tmux/.tmux/plugins/tmux b/tmux/.tmux/plugins/tmux index 408c02c..df23892 160000 --- a/tmux/.tmux/plugins/tmux +++ b/tmux/.tmux/plugins/tmux @@ -1 +1 @@ -Subproject commit 408c02ccf44d0a59a7a63ce2b65c5c29982c5c0e +Subproject commit df238924bcf90141519b4225aad92d6a1ba16e50