-
-
Notifications
You must be signed in to change notification settings - Fork 800
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I am not requesting help with my configuration and believe something is genuinely broken.
- Something is really actually broken.
Is there an existing issue outlining your problem?
- I have searched the existing issues and troubleshooting guide, and they do not solve my problem.
Describe your problem.
When trying to create a new module for tmux-continuum with the catppuccin styles it does not render the text from the plugin.
%hidden MODULE_NAME="my_custom_module"
set -ogq "@catppuccin_${MODULE_NAME}_icon" " "
set -ogqF "@catppuccin_${MODULE_NAME}_color" "#{E:@thm_pink}"
set -ogq "@catppuccin_${MODULE_NAME}_text" "start|#{continuum_status}|end"
source "~/.config/tmux/plugins/tmux/utils/status_module.conf"
run "~/.config/tmux/plugins/tmux/catppuccin.tmux"
set -g status-right "#{E:@catppuccin_status_my_custom_module}"
set -ag status-right "#{continuum_status}"However, the plugin seems to work by it self.
Paste your configuration.
# Configure Tmux Plugin Manager
set-environment -gF TMUX_PLUGIN_PATH '#{HOME}/.config/tmux/plugins'
if 'test ! -d "${TMUX_PLUGIN_PATH}/tpm"' {
run 'mkdir -p "${TMUX_PLUGIN_PATH}"'
run 'git clone https://github.com/tmux-plugins/tpm "${TMUX_PLUGIN_PATH}/tpm"'
run '${TMUX_PLUGIN_PATH}/tpm/bin/install_plugins'
}
unbind C-b
set -g prefix C-s
unbind C-s
bind C-s send-prefix
# Mouse
set -g mouse on
# Vi mode
set -g mode-keys vi
set -g status-keys vi
set -g detach-on-destroy off # don't exit from tmux when closing a session
set -g set-clipboard on
# Terminal
set -g default-terminal "${TERM}"
set -as terminal-overrides ",*:Smulx=\E[4::%p1%dm"
set -as terminal-overrides ",*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m"
# Windows
set -g base-index 1 # start indexing windows at 1 instead of 0
setw -g pane-base-index 1
set -g renumber-windows on # renumber all windows when any window is closed
bind -r -N "Move window to the left" "<" swap-window -d -t -1
bind -r -N "Move window to the right" ">" swap-window -d -t +1
# Status bar
set-option -g status-position top
# Clear history
bind -N "Clear history" C-c send-keys C-l
# Create new shells
bind -N "New window" c new-window -c "#{pane_current_path}"
bind -N "Vertical split" v split-window -v -c "#{pane_current_path}"
bind -N "Horizontal split" h split-window -h -c "#{pane_current_path}"
# App popups
set -g clock-mode-style 12
bind -N "Lazygit" g popup -d "#{pane_current_path}" -E -w 90% -h 90% -T Git lazygit
# List of plugins
set -g @plugin "tmux-plugins/tpm"
set -g @plugin "tmux-plugins/tmux-sensible"
# SessionX
set -g @plugin "omerxx/tmux-sessionx"
set -g @sessionx-bind "w"
set -g @sessionx-zoxide-mode "on"
set -g @sessionx-filter-current "false"
set -g @sessionx-preview-location "top"
set -g @sessionx-preview-ratio "75%"
set -g @sessionx-tmuxinator-mode "on"
set -g @sessionx-bind-tmuxinator-list "alt-t"
set -g @sessionx-filtered-sessions "floax"
# Floax
set -g @plugin "omerxx/tmux-floax"
set -g @floax-session-name "floax"
set -g @floax-bind "s"
set -gF @floax-border-color "#{E:@thm_lavender}"
# Catppuccin
set -g @plugin "catppuccin/tmux"
set -g @catppuccin_window_status_style "custom"
set -g @catppuccin_status_background "none"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator " "
set -g @catppuccin_window_number_color "#{@thm_blue}"
set -g @catppuccin_window_text "#W"
set -g @catppuccin_window_left_separator "#[fg=#{@thm_surface_0}]#[bg=default]"
set -g @catppuccin_window_right_separator "#[fg=#{@thm_blue}]#[bg=default]"
set -g @catppuccin_window_current_number_color "#{@thm_peach}"
set -g @catppuccin_window_current_text "#W#{?window_zoomed_flag,(),}"
set -g @catppuccin_window_current_left_separator "#[fg=#{@thm_surface_1}]#[bg=default]"
set -g @catppuccin_window_current_right_separator "#[fg=#{@thm_peach}]#[bg=default]"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator ""
%hidden MODULE_NAME="my_custom_module"
set -ogq "@catppuccin_${MODULE_NAME}_icon" " "
set -ogqF "@catppuccin_${MODULE_NAME}_color" "#{E:@thm_pink}"
set -ogq "@catppuccin_${MODULE_NAME}_text" "start|#{continuum_status}|end"
source "~/.config/tmux/plugins/tmux/utils/status_module.conf"
run "~/.config/tmux/plugins/tmux/catppuccin.tmux"
set -g status-right "#{E:@catppuccin_status_my_custom_module}"
set -ag status-right "#{continuum_status}"
set -g @plugin "tmux-plugins/tmux-cpu"
set -g @plugin "xamut/tmux-weather"
set -g @plugin "wfxr/tmux-fzf-url"
set -g @plugin "nhdaly/tmux-better-mouse-mode"
set -g @plugin "christoomey/vim-tmux-navigator"
# Resurrect
set -g @plugin "tmux-plugins/tmux-resurrect"
set -g @resurrect-strategy-nvim "session"
set -g @resurrect-capture-pane-contents "on"
set -g @resurrect-save "S"
# Continuum
set -g @plugin "tmux-plugins/tmux-continuum"
set -g @continuum-restore "on"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run "#{TMUX_PLUGIN_PATH}/tpm/tpm"Attach screenshots.
What tmux version are you seeing the issue on?
tmux 3.5a
What shell are you using?
zsh
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working