feat: pane enable & top/bottom

This commit is contained in:
Emil Toivainen 2024-01-11 21:03:25 +02:00
parent 0972b6d300
commit 38b25a816d
3 changed files with 47 additions and 60 deletions

View file

@ -1,12 +0,0 @@
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"
}

View file

@ -1,11 +1,12 @@
show_pane_default_format() {
local number="#I"
local color="$thm_blue"
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}")" # use #W for application instead of directory
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" )
local default_pane_format=$( build_pane_format "$number" "$color" "$background" "$text" "$fill")
echo "$default_pane_format"
}