From f32efc685db88bfb3d6c5788699ca83ab319b300 Mon Sep 17 00:00:00 2001 From: Sami Al-Dury Date: Tue, 8 Oct 2024 10:11:30 +0200 Subject: [PATCH] tmux: fix breaking changes in catppuccin theme --- .config/tmux/tmux.conf | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 8f6ad7c..88943cd 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -9,23 +9,32 @@ bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" set -g default-terminal "tmux-256color" set -ag terminal-overrides ",xterm-256color:Tc" +# Cattpuccin theme +set -g @catppuccin_flavor "mocha" +set -g @catppuccin_window_status_style "basic" +set -g @catppuccin_status_left_separator "█" +set -g @catppuccin_status_right_separator "█" +# leave this unset to let applications set the window title +set -g @catppuccin_window_default_text " #W" +set -g @catppuccin_window_current_text " #W" + # tmux plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @plugin 'catppuccin/tmux' +set -g @plugin 'catppuccin/tmux#v1.0.1' + +# Make the status line pretty and add some modules +set -g status-left "" +set -g status-right "#{E:@catppuccin_status_user}" +set -ag status-right "#{E:@catppuccin_status_application}" +set -ag status-right "#{E:@catppuccin_status_session}" # Yank set -g @yank_action 'copy-pipe' # or 'copy-pipe-and-cancel' for the default -# Cattpuccin theme -set -g @catppuccin_flavour 'mocha' -set -g @catppuccin_status_modules_right "session" -set -g @catppuccin_status_left_separator "█" -set -g @catppuccin_status_right_separator "█" - # Set prefix to Ctrl+Space unbind C-b set -g prefix C-Space @@ -87,4 +96,4 @@ set -ga update-environment TERM set -ga update-environment TERM_PROGRAM # Run tmux plugin manager -run '~/.tmux/plugins/tpm/tpm' +run '~/.config/tmux/plugins/tpm/tpm'