diff --git a/.config/tmux/conf/plugins.conf b/.config/tmux/conf/plugins.conf index 6d9f9ad7..292a919f 100644 --- a/.config/tmux/conf/plugins.conf +++ b/.config/tmux/conf/plugins.conf @@ -1,30 +1,43 @@ # Plugins Declaration set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'catppuccin/tmux#v0.3.0' +set -g @plugin 'catppuccin/tmux' set -g @plugin 'wfxr/tmux-fzf-url' set -g @plugin 'sainnhe/tmux-fzf' # Plugin Options ## Catppuccin -set -g @catppuccin_directory_text "#{pane_current_path}" -set -g @catppuccin_window_current_text "#{window_name}" -set -g @catppuccin_window_default_text "#{window_name}" +## Config from https://github.com/catppuccin/tmux/discussions/317#discussioncomment-11064512 +### Global Options set -g @catppuccin_flavor 'macchiato' +set -g @catppuccin_status_background 'none' -set -g @catppuccin_window_left_separator "█" -set -g @catppuccin_window_right_separator "█" -set -g @catppuccin_window_number_position "right" -set -g @catppuccin_window_middle_separator " █" -set -g @catppuccin_window_default_fill "number" -set -g @catppuccin_window_current_background "#{thm_gray}" +### Left Status +set -g status-left-length 100 +set -g status-left "" +set -ga status-left "#{?client_prefix,#{#[bg=#{@thm_red},fg=#{@thm_mantle},bold]  #S },#{#[bg=#{@thm_mantle},fg=#{@thm_green}]  #S }}" +set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_overlay_0}, none]|" +set -ga status-left "#[bg=#{@thm_mantle},fg=#{@thm_lavender}]  #{=/-32/...:#{s|$USER|~|:#{b:pane_current_path}}} " -set -g @catppuccin_status_modules_right "directory user host" -set -g @catppuccin_status_modules_left "session" -set -g @catppuccin_status_left_separator "█" -set -g @catppuccin_status_right_separator "" -set -g @catppuccin_status_fill "all" -set -g @catppuccin_status_connect_separator "yes" +# Windows Style +set -g @catppuccin_window_status_style "basic" +set -g automatic-rename on +set -g window-status-separator '|' +set -g status-justify 'absolute-centre' +set -g @catppuccin_window_current_text_color "#{@thm_surface_1}" +set -g @catppuccin_window_current_number_color "#{@thm_mauve}" +set -g @catppuccin_window_flags_icon_last "" # - +set -g @catppuccin_window_flags "icon" +set -g @catppuccin_window_flags_icon_current "" # * +set -g @catppuccin_window_text " #W" +set -g @catppuccin_window_current_text " #W" + +### Right Status +set -g status-right-length 100 +set -g status-right "" +set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_peach}]  #{user} " +set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_overlay_0}, none]|" +set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_blue}] 󰭦 %Y-%m-%d 󰅐 %H:%M " ## fzf-url set -g @fzf-url-bind 'u'