feat: added pane formatting model
This commit is contained in:
parent
29a95145c7
commit
f91a20beba
3 changed files with 96 additions and 2 deletions
11
pane/pane_current_format.sh
Normal file
11
pane/pane_current_format.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
show_pane_current_format() {
|
||||
local number="#I"
|
||||
local color="$thm_orange"
|
||||
local background="$thm_bg"
|
||||
local text="$(get_tmux_option "@catppuccin_pane_current_text" "#{b:pane_current_path}")" # use #W for application instead of directory
|
||||
local fill="$(get_tmux_option "@catppuccin_pane_current_fill" "number")" # number, all, none
|
||||
|
||||
local current_pane_format=$( build_pane_format "$number" "$color" "$background" "$text" "$fill" )
|
||||
|
||||
echo "$current_pane_format"
|
||||
}
|
0
pane/pane_default_format.sh
Normal file
0
pane/pane_default_format.sh
Normal file
Loading…
Add table
Add a link
Reference in a new issue