feat: pane current format

This commit is contained in:
Emil Toivainen 2024-01-10 14:08:56 +02:00
parent f91a20beba
commit 8f12a36d38
2 changed files with 1 additions and 14 deletions

View file

@ -402,9 +402,7 @@ main() {
#
local pane_format=$( load_modules "pane_default_format")
local pane_current_format=$( load_modules "pane_current_format")
setw window-status-format "$window_format"
setw window-status-current-format "$window_current_format"
setw pane-border-format "$pane_format"
# --------=== Modes
#

View file

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