feat: pane module
This commit is contained in:
parent
17c3e24297
commit
0972b6d300
2 changed files with 25 additions and 11 deletions
12
pane/pane/pane_default_format.sh
Normal file
12
pane/pane/pane_default_format.sh
Normal 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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue