-
-
Notifications
You must be signed in to change notification settings - Fork 464
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
Feat: Window specific separator config #198
base: main
Are you sure you want to change the base?
Feat: Window specific separator config #198
Conversation
ea68c51
to
dac1a87
Compare
2816e38
to
4589db4
Compare
Thanks for the approval @vvorobev ! |
#### Override the window default separators | ||
```sh | ||
set -g @catppuccin_window_default_left_separator "" | ||
set -g @catppuccin_window_default_middle_separator "█" | ||
set -g @catppuccin_window_default_right_separator "" | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just reuse catppuccin_window__left/middle/right_separator
and only overwrite for current?
type="default" | ||
|
||
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill") | ||
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "$middle_seprator" "$type") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type="default" | |
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill") | |
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "$middle_seprator" "$type") | |
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "default") |
type="current" | ||
|
||
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill") | ||
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "$type") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type="current" | |
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill") | |
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "$type") | |
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "current") |
This pull request:
window_type
tobuild_window_format
Allowed new configuration options:
Fixes #197