feat: pane module

This commit is contained in:
Emil Toivainen 2024-01-11 16:22:11 +02:00
parent 17c3e24297
commit 0972b6d300
2 changed files with 25 additions and 11 deletions

View file

@ -0,0 +1,12 @@
show_pane_default_format() {
local number="#{pane_index}"
local color="$thm_green"
local background="$thm_gray"
local text="$(get_tmux_option "@catppuccin_pane_default_text" "#{b:pane_current_path}")"
local fill="$(get_tmux_option "@catppuccin_pane_default_fill" "number")" # number, all, none
local active="#{pane_active}"
local default_pane_format=$( build_pane_format "$number" "$color" "$background" "$text" "$fill")
echo "$default_pane_format"
}