-
-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kube module keeps going blank #301
Comments
Can you show the output of It seems that the env
|
Before: :!tmux show-options -g status-right
status-right "#[fg=#{?client_prefix,#f38ba8,#a6e3a1},bg=default,nobold,nounderscore,noitalics] #[fg=#1e1e2e,bg=#{?client_prefix,#f38ba8,#a6e3a1},nobold,nounderscore,noitalics] #[fg=#cdd6f4,bg=#313244] #
S#[fg=#313244,bg=default,nobold,nounderscore,noitalics]#[fg=#89b4fa,bg=default,nobold,nounderscore,noitalics] #[fg=#1e1e2e,bg=#89b4fa,nobold,nounderscore,noitalics] #[fg=#cdd6f4,bg=#313244] #(KUBE_TMUX
_SYMBOL_ENABLE=false kube-tmux/kube.tmux 250 '#f38ba8' '#89dceb')#[fg=#313244,bg=default,nobold,nounderscore,noitalics]" after: :!tmux show-options -g status-right
status-right "#[fg=#{?client_prefix,#f38ba8,#a6e3a1},bg=default,nobold,nounderscore,noitalics] #[fg=#1e1e2e,bg=#{?client_prefix,#f38ba8,#a6e3a1},nobold,nounderscore,noitalics] #[fg=#cdd6f4,bg=#313244] #
S#[fg=#313244,bg=default,nobold,nounderscore,noitalics]#[fg=#89b4fa,bg=default,nobold,nounderscore,noitalics] #[fg=#1e1e2e,bg=#89b4fa,nobold,nounderscore,noitalics] #[fg=#cdd6f4,bg=#313244] #(KUBE_TMUX
_SYMBOL_ENABLE=false /Users/paul/.tmux/plugins/kube-tmux/kube.tmux 250 '#f38ba8' '#89dceb')#[fg=#313244,bg=default,nobold,nounderscore,noitalics]" Seems you're on to a winner... I'll have a look in the TPM repo |
Yeah odd, seems it should always get set when launching tmux: https://github.com/tmux-plugins/tpm/blob/99469c4a9b1ccf77fade25842dc7bafbc8ce9946/tpm#L26-L35 Will need to dig some more |
So the issue seems to be that setting the tmux env var this way: https://github.com/tmux-plugins/tpm/blob/99469c4a9b1ccf77fade25842dc7bafbc8ce9946/tpm#L34 I added an I'm not sure why this hasn't been noticed before, perhaps not many other things rely on this env var? I'll open an issue on |
A better solution would be to escape the dollar sign so the env var is interpreted during the status update. |
Yeah, I thought there was an issue with the way tpm was setting that var so figured it would be good to fix at the source but looks not to be the case anyway. I'll raise a minor PR here.. |
Hello @pauldthomson, it seems that the problem is back with the new version (at least >2.0) but I have no idea how to fix it again as the shell scripts are no more. Do you think you can take a look or point me in the right direction? |
@Xysto yep, been meaning to raise this actually, I also think there's an issue with adding custom status modules but that's a separate one. I'll open a PR for this. |
As per catppuccin#301 (comment), it seems the issue returned in v2.0
As per catppuccin#301 (comment), it seems the issue returned in v2.0
As per catppuccin#301 (comment) this issue has returned in v2.0
@Xysto ^^ |
…le (#434) As per #301 (comment) this issue has returned in v2.0
Oh wow, that was fast! Thanks a lot @pauldthomson ! |
Is there an existing issue outlining your problem?
Describe your problem.
The kube module stops showing anything and I have to reload my tmux conf to make it appear again
Paste your configuration.
Attach screenshots.
Screen.Recording.2024-08-30.at.9.40.40.AM.mov
What tmux version are you seeing the issue on?
tmux 3.4
Any additional comments?
I have been running kube-tmux for a long time prior to using catppuccin and this issue didn't exist, so it seems theme related?
The text was updated successfully, but these errors were encountered: