From 2e856516aaf52d74638bd88ee395e811b423ff58 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Thu, 31 Oct 2024 12:38:59 -0700 Subject: [PATCH] Update the catppuccin config for tmux --- dot_tmux.conf | 74 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/dot_tmux.conf b/dot_tmux.conf index 2405918..556a7b7 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -84,44 +84,46 @@ set -g activity-action none # Highlighting the active window in status bar #setw -g window-status-current-style bg=red,bright -set -g @catppuccin_flavour 'mocha' # or frappe, macchiato, mocha - -set -g @catppuccin_window_status_enable "yes" -set -g @catppuccin_window_number_position "left" -set -g @catppuccin_window_left_separator "" -set -g @catppuccin_window_right_separator " " -set -g @catppuccin_window_middle_separator " " -set -g @catppuccin_window_connect_separator "yes" - -set -g @catppuccin_window_default_color "#{thm_gray}" -set -g @catppuccin_window_default_background "#{thm_green}" -set -g @catppuccin_window_default_fill "all" -set -g @catppuccin_window_default_text "#W" - -set -g @catppuccin_window_current_fill "all" -set -g @catppuccin_window_current_text "#W" -set -g @catppuccin_window_current_color "#{thm_blue}" -set -g @catppuccin_window_current_background "#{thm_bg}" - -set -g @catppuccin_icon_window_last "󰖰" -set -g @catppuccin_icon_window_current "󰫣" -set -g @catppuccin_icon_window_zoom "󰁌" -set -g @catppuccin_icon_window_mark "󰃀" -set -g @catppuccin_icon_window_silent "󰂛" -set -g @catppuccin_icon_window_activity "󱅫" -set -g @catppuccin_icon_window_bell "󰂞" - -set -g @catppuccin_status_modules_right "directory battery host date_time" -set -g @catppuccin_status_left_separator "" -set -g @catppuccin_status_right_separator "" -set -g @catppuccin_status_fill "icon" -set -g @catppuccin_status_connect_separator "yes" -set -g @catppuccin_date_time_text "%Y-%m-%d %H:%M" - -set -g @catppuccin_pane_status_enabled "yes" -set -g @catppuccin_directory_text "#{pane_current_path}" +set -g @catppuccin_window_status "icon" +set -g @catppuccin_flavor 'mocha' # or frappe, macchiato, mocha + +set -g @catppuccin_window_status_style "rounded" + + +set -g @catppuccin_window_current_text_color "#4780d2" +set -g @catppuccin_window_current_number_color "#4780d2" +set -g @catppuccin_window_text_color "#{@thm_surface_1}" +set -g @catppuccin_window_number_color "#{@thm_surface_1}" + +set -g @catppuccin_window_text "#W " +set -g @catppuccin_window_number "#I" +set -g @catppuccin_window_current_text "#W " +set -g @catppuccin_window_current_number "#I" + +set -ogq @catppuccin_window_flags "icon" +set -ogq @catppuccin_window_flags_icon_last "󰖰" +set -ogq @catppuccin_window_flags_icon_current "󰫣" +set -ogq @catppuccin_window_flags_icon_zoom "󰁌" +set -ogq @catppuccin_window_flags_icon_mark "󰃀" +set -ogq @catppuccin_window_flags_icon_silent "󰂛" +set -ogq @catppuccin_window_flags_icon_activity "󱅫" +set -ogq @catppuccin_window_flags_icon_bell "󰂞" + +set -ogq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@catppuccin_window_flags_icon_activity},}##{?window_bell_flag,#{E:@catppuccin_window_flags_icon_bell},}##{?window_silence_flag,#{E:@catppuccin_window_flags_icon_silent},}##{?window_active,#{E:@catppuccin_window_flags_icon_current},}##{?window_last_flag,#{E:@catppuccin_window_flags_icon_last},}##{?window_marked_flag,#{E:@catppuccin_window_flags_icon_mark},}##{?window_zoomed_flag,#{E:@catppuccin_window_flags_icon_zoom},}" + +run '~/.tmux/plugins/tmux/catppuccin.tmux' + +set -g status-right-length 100 +set -g status-left-length 100 +set -g status-left "" +set -g status-right "#{E:@catppuccin_status_directory}" +set -agF status-right "#{E:@catppuccin_status_battery}" +set -ag status-right "#{E:@catppuccin_status_host}" +set -ag status-right "#{E:@catppuccin_status_date_time}" + +#set -g @catppuccin_directory_text " #{b:pane_current_path}" set -g @plugin 'catppuccin/tmux'