tmux-catppuccin-coal/window/window_default_format.sh
2024-01-18 09:53:19 -06:00

11 lines
597 B
Bash

show_window_default_format() {
local number="#I"
local color=$(get_tmux_option "@catppuccin_window_default_color" "$thm_blue")
local background=$(get_tmux_option "@catppuccin_window_default_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"
}