Skip to content
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

There's an extra spacing added when numbers are right-aligned #462

Open
2 tasks done
adaviloper opened this issue Jan 17, 2025 · 2 comments
Open
2 tasks done

There's an extra spacing added when numbers are right-aligned #462

adaviloper opened this issue Jan 17, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@adaviloper
Copy link

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 they do not solve my problem.

Describe your problem.

There is an extra spacing between the window text and the window number when the numbers are aligned to the right.

set -ogq @catppuccin_window_text "#W"
set -ogq @catppuccin_window_number "#I |"
set -ogq @catppuccin_window_current_text "#W"
set -ogq @catppuccin_window_current_number "#I |"

set -ogq @catppuccin_window_status_style "rounded" # basic, rounded, slanted, custom, or none
set -ogq @catppuccin_window_number_position "left"

Image


set -ogq @catppuccin_window_text "#W"
set -ogq @catppuccin_window_number "| #I"
set -ogq @catppuccin_window_current_text "#W"
set -ogq @catppuccin_window_current_number "| #I"

set -ogq @catppuccin_window_status_style "rounded" # basic, rounded, slanted, custom, or none
set -ogq @catppuccin_window_number_position "right"

Image

I've tried applying the suggestion in this comment with no success.
I think it has to do with this line that has a leading space, but I don't know the project well enough.

Paste your configuration.

set -ogq @catppuccin_window_text "#W"
set -ogq @catppuccin_window_number "| #I"
set -ogq @catppuccin_window_current_text "#W"
set -ogq @catppuccin_window_current_number "| #I"

set -ogq @catppuccin_window_status_style "rounded" # basic, rounded, slanted, custom, or none
set -ogq @catppuccin_window_number_position "right"

Attach screenshots.

No response

What tmux version are you seeing the issue on?

tmux 3.5a

Any additional comments?

No response

@adaviloper adaviloper added the bug Something isn't working label Jan 17, 2025
@kjnsn
Copy link
Collaborator

kjnsn commented Jan 18, 2025

Are you happy to send a PR? Also why are you using -o in your config file?

@adaviloper
Copy link
Author

I'm using the -o flag because that's what is shown in the configuration reference.

PR has been made, but keep in mind that I don't really know anything about working with Tmux plugins, so open to feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants