feat(modules): simplify parameters and use consistency in naming
This commit is contained in:
parent
480eebcb62
commit
c7ee28aafe
5 changed files with 30 additions and 51 deletions
11
window/window_default_format.sh
Normal file
11
window/window_default_format.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
show_window_default_format() {
|
||||
local number="#I"
|
||||
local color="$thm_blue"
|
||||
local background="$thm_gray"
|
||||
local text="$(get_tmux_option "@catppuccin_window_default_text" "#{b:pane_current_path}")" # use #W for application instead of directory
|
||||
local fill="$(get_tmux_option "@catppuccin_window_default_fill" "number")" # number, all, none
|
||||
|
||||
local default_window_format=$( build_window_format "$number" "$color" "$background" "$text" "$fill" )
|
||||
|
||||
echo "$default_window_format"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue