feat: pane default format sh

This commit is contained in:
Emil Toivainen 2024-01-10 15:41:38 +02:00
parent 8f12a36d38
commit 17c3e24297
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
show_pane_default_format() {
local number="#I"
local color="$thm_blue"
local background="$thm_gray"
local text="$(get_tmux_option "@catppuccin_pane_default_text" "#{b:pane_current_path}")" # use #W for application instead of directory
local fill="$(get_tmux_option "@catppuccin_pane_default_fill" "number")" # number, all, none
local default_pane_format=$( build_pane_format "$number" "$color" "$background" "$text" "$fill" )
echo "$default_pane_format"
}