making the default background changeable as well

This commit is contained in:
Zachary Taylor 2023-11-08 13:40:20 -06:00
parent 9f25bbbf65
commit d406e42cae
No known key found for this signature in database
GPG key ID: 3AAE63AECBA5EBA5

View file

@ -1,10 +1,10 @@
show_window_default_format() {
local number="#I"
local color="$thm_blue"
local background="$thm_gray"
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"