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

Feature request: Window connect seperator #177

Open
ian-vu opened this issue Mar 29, 2024 · 3 comments · May be fixed by #184
Open

Feature request: Window connect seperator #177

ian-vu opened this issue Mar 29, 2024 · 3 comments · May be fixed by #184
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ian-vu
Copy link

ian-vu commented Mar 29, 2024

Hey 👋👋, I am looking for the ability to connect the window separators similar to how the current status separators work. I am not sure if it is currently supported.

Currently there is support for the option catppuccin_status_connect_separator "yes" which allows for no gaps between the modules. I am looking for the same effect but for the windows.

Hopefully my screenshot better expresses what I am looking for.

CleanShot 2024-03-29 at 20 22 56@2x

@89iuv 89iuv added enhancement New feature or request good first issue Good for newcomers labels Mar 29, 2024
@MykhailoSukhostavets
Copy link

MykhailoSukhostavets commented Apr 3, 2024

Hi, as I understand you can't join windows the same way as status modules, because of text direction and background nesting

However, I updated code to look closer to your needs. Same approach used in dracula tmux

image

Config from screenshot:

set -g @catppuccin_window_left_separator " "
set -g @catppuccin_window_right_separator "█"
set -g @catppuccin_window_middle_separator "▕ "
set -g @catppuccin_window_default_fill "none"
set -g @catppuccin_window_current_fill "all"
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_connect_separator "yes"

@MykhailoSukhostavets MykhailoSukhostavets linked a pull request Apr 3, 2024 that will close this issue
@MykhailoSukhostavets
Copy link

Just created PR, for now problem that I see is with most right separator. To fix this dracula tmux uses fixed icon that renders before all windows.
In this example from dracula icon shows current session (on screenshot only one window, can be confusing)
image

If we are interested in the same logic, I can create try to implement it

@vdbe vdbe linked a pull request Apr 8, 2024 that will close this issue
@ian-vu
Copy link
Author

ian-vu commented Apr 12, 2024

That looks awesome @MykhailoSukhostavets thanks for your work! 🙏 Perfectly what I was trying to express

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants