feat(modules): simplify parameters and use consistency in naming

This commit is contained in:
Valentin Uveges 2023-08-09 11:44:36 +03:00
parent 480eebcb62
commit c7ee28aafe
5 changed files with 30 additions and 51 deletions

View 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"
}