feat(status): window specific separator config (#198)
* feat(window-builder): get window separator based on window type * feat(window-format): send window type param to builder fix: apply suggestions from code review * feat(readme): add window type separator options
This commit is contained in:
parent
c31b9b2c6c
commit
8276c5a5e3
4 changed files with 21 additions and 2 deletions
|
@ -18,7 +18,7 @@ show_window_current_format() {
|
|||
text="$(get_tmux_batch_option "@catppuccin_window_current_text" "#{b:pane_current_path}")" # use #W for application instead of directory
|
||||
fill="$(get_tmux_batch_option "@catppuccin_window_current_fill" "number")" # number, all, none
|
||||
|
||||
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill")
|
||||
current_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "current")
|
||||
|
||||
echo "$current_window_format"
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ show_window_default_format() {
|
|||
text="$(get_tmux_batch_option "@catppuccin_window_default_text" "#{b:pane_current_path}")" # use #W for application instead of directory
|
||||
fill="$(get_tmux_batch_option "@catppuccin_window_default_fill" "number")" # number, all, none
|
||||
|
||||
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill")
|
||||
default_window_format=$(build_window_format "$number" "$color" "$background" "$text" "$fill" "default")
|
||||
|
||||
echo "$default_window_format"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue