From a865a14bb7536336b1cfe0af960fe74e6544dca8 Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Tue, 6 Feb 2024 14:24:23 +0000 Subject: [PATCH] ugh catpuccin --- tmux/.tmux.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index aebd209..76dad72 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -124,12 +124,11 @@ set -sg escape-time 0 set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M' +# text for the window when inactive set -g @catppuccin_window_default_fill "number" -# set -g @catppuccin_window_default_text "#W" -set -g @catppuccin_window_default_text "#{pane_current_path}" - +set -g @catppuccin_window_default_text '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}' +# text for the window when active set -g @catppuccin_window_current_fill "number" -# set -g @catppuccin_window_current_text "#W" set -g @catppuccin_window_current_text '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}' set -g @catppuccin_pane_status_enabled "yes"