feat(tmux): new and revamped bar using latest catppuccin plugin version

This commit is contained in:
Sergio Laín 2025-07-13 01:23:05 +02:00
parent efc37aa8f9
commit 373c9ef2c8
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -1,30 +1,43 @@
# Plugins Declaration # Plugins Declaration
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' 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 'wfxr/tmux-fzf-url'
set -g @plugin 'sainnhe/tmux-fzf' set -g @plugin 'sainnhe/tmux-fzf'
# Plugin Options # Plugin Options
## Catppuccin ## Catppuccin
set -g @catppuccin_directory_text "#{pane_current_path}" ## Config from https://github.com/catppuccin/tmux/discussions/317#discussioncomment-11064512
set -g @catppuccin_window_current_text "#{window_name}" ### Global Options
set -g @catppuccin_window_default_text "#{window_name}"
set -g @catppuccin_flavor 'macchiato' set -g @catppuccin_flavor 'macchiato'
set -g @catppuccin_status_background 'none'
set -g @catppuccin_window_left_separator "█" ### Left Status
set -g @catppuccin_window_right_separator "█" set -g status-left-length 100
set -g @catppuccin_window_number_position "right" set -g status-left ""
set -g @catppuccin_window_middle_separator " █" set -ga status-left "#{?client_prefix,#{#[bg=#{@thm_red},fg=#{@thm_mantle},bold]  #S },#{#[bg=#{@thm_mantle},fg=#{@thm_green}]  #S }}"
set -g @catppuccin_window_default_fill "number" set -ga status-right "#[bg=#{@thm_mantle},fg=#{@thm_overlay_0}, none]|"
set -g @catppuccin_window_current_background "#{thm_gray}" 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" # Windows Style
set -g @catppuccin_status_modules_left "session" set -g @catppuccin_window_status_style "basic"
set -g @catppuccin_status_left_separator "█" set -g automatic-rename on
set -g @catppuccin_status_right_separator "" set -g window-status-separator '|'
set -g @catppuccin_status_fill "all" set -g status-justify 'absolute-centre'
set -g @catppuccin_status_connect_separator "yes" 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 ## fzf-url
set -g @fzf-url-bind 'u' set -g @fzf-url-bind 'u'