From 29a95145c781f0f7f80e6e154a0aef77d2ea0519 Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Tue, 9 Jan 2024 15:37:26 +0200 Subject: [PATCH 1/8] feat: pane configuration --- catppuccin.tmux | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/catppuccin.tmux b/catppuccin.tmux index 11d4030..7244779 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -284,8 +284,10 @@ main() { set message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre" # panes - set pane-border-style "fg=${thm_gray}" - set pane-active-border-style "fg=${thm_blue}" + local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_gray}") + local pane_active_border_style=$(get_tmux_option "@catppuccin_pane_active_border_style" "fg=${thm_blue}") + set pane-border-style "${pane_border_style}" + set pane-active-border-style "${pane_active_border_style}" # windows setw window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none" From f91a20beba5982d63705ebe216ffade036284621 Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Wed, 10 Jan 2024 13:59:51 +0200 Subject: [PATCH 2/8] feat: added pane formatting model --- catppuccin.tmux | 87 ++++++++++++++++++++++++++++++++++++- pane/pane_current_format.sh | 11 +++++ pane/pane_default_format.sh | 0 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 pane/pane_current_format.sh create mode 100644 pane/pane_default_format.sh diff --git a/catppuccin.tmux b/catppuccin.tmux index 7244779..a597d76 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -60,6 +60,74 @@ build_window_icon() { echo "$show_window_status" } +build_pane_format() { + local number=$1 + local color=$2 + local background=$3 + local text=$4 + local fill=$5 + + if [ "$pane_status_enable" = "yes" ] + then + local icon="$( build_pane_icon )" + text="$text $icon" + fi + + if [ "$fill" = "none" ] + then + local show_left_separator="#[fg=$thm_gray,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" + local show_number="#[fg=$thm_fg,bg=$thm_gray]$number" + local show_middle_separator="#[fg=$thm_fg,bg=$thm_gray,nobold,nounderscore,noitalics]$pane_middle_separator" + local show_text="#[fg=$thm_fg,bg=$thm_gray]$text" + local show_right_separator="#[fg=$thm_gray,bg=$thm_bg]$pane_right_separator" + + fi + + if [ "$fill" = "all" ] + then + local show_left_separator="#[fg=$color,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" + local show_number="#[fg=$background,bg=$color]$number" + local show_middle_separator="#[fg=$background,bg=$color,nobold,nounderscore,noitalics]$pane_middle_separator" + local show_text="#[fg=$background,bg=$color]$text" + local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" + + fi + + if [ "$fill" = "number" ] + then + local show_number="#[fg=$background,bg=$color]$number" + local show_middle_separator="#[fg=$color,bg=$background,nobold,nounderscore,noitalics]$pane_middle_separator" + local show_text="#[fg=$thm_fg,bg=$background]$text" + + if [ "$pane_number_position" = "right" ] + then + local show_left_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" + local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" + fi + + if [ "$pane_number_position" = "left" ] + then + local show_right_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_right_separator" + local show_left_separator="#[fg=$color,bg=$thm_bg]$pane_left_separator" + fi + + fi + + local final_pane_format + + if [ "$pane_number_position" = "right" ] + then + final_pane_format="$show_left_separator$show_text$show_middle_separator$show_number$show_right_separator" + fi + + if [ "$pane_number_position" = "left" ] + then + final_pane_format="$show_left_separator$show_number$show_middle_separator$show_text$show_right_separator" + fi + + echo "$final_pane_format" +} + build_window_format() { local number=$1 local color=$2 @@ -284,8 +352,15 @@ main() { set message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre" # panes - local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_gray}") - local pane_active_border_style=$(get_tmux_option "@catppuccin_pane_active_border_style" "fg=${thm_blue}") + local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_blue}") + local pane_active_border_style=$(get_tmux_option "@catppuccin_pane_active_border_style" "fg=${thm_orange}") + local pane_left_separator=$(get_tmux_option "@catppuccin_pane_left_separator" "█") + local pane_middle_separator=$(get_tmux_option "@catppuccin_pane_middle_separator" "█") + local pane_right_separator=$(get_tmux_option "@catppuccin_pane_right_separator" "█") + local pane_number_position=$(get_tmux_option "@catppuccin_pane_number_position" "left") # right, left + local pane_status_enable=$(get_tmux_option "@catppuccin_pane_status_enable" "no") + local pane_format=$( load_modules "pane_default_format") + local pane_current_format=$( load_modules "pane_current_format") set pane-border-style "${pane_border_style}" set pane-active-border-style "${pane_active_border_style}" @@ -323,6 +398,14 @@ main() { set status-left "$loaded_modules_left" set status-right "$loaded_modules_right" + # --------=== Panes + # + + 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" + # --------=== Modes # setw clock-mode-colour "${thm_blue}" diff --git a/pane/pane_current_format.sh b/pane/pane_current_format.sh new file mode 100644 index 0000000..b5d02ac --- /dev/null +++ b/pane/pane_current_format.sh @@ -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" +} diff --git a/pane/pane_default_format.sh b/pane/pane_default_format.sh new file mode 100644 index 0000000..e69de29 From 8f12a36d383641fc22776be102213e758bae7f0f Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Wed, 10 Jan 2024 14:08:56 +0200 Subject: [PATCH 3/8] feat: pane current format --- catppuccin.tmux | 4 +--- pane/pane_current_format.sh | 11 ----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 pane/pane_current_format.sh diff --git a/catppuccin.tmux b/catppuccin.tmux index a597d76..24bfb1d 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -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 # diff --git a/pane/pane_current_format.sh b/pane/pane_current_format.sh deleted file mode 100644 index b5d02ac..0000000 --- a/pane/pane_current_format.sh +++ /dev/null @@ -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" -} From 17c3e2429736f2353b49ca2a45644edbf1cd7f36 Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Wed, 10 Jan 2024 15:41:38 +0200 Subject: [PATCH 4/8] feat: pane default format sh --- catppuccin.tmux | 4 ++++ pane/pane_default_format.sh | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/catppuccin.tmux b/catppuccin.tmux index 24bfb1d..e0dab4c 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -268,6 +268,7 @@ load_modules() { local modules_custom_path=$PLUGIN_DIR/custom local modules_status_path=$PLUGIN_DIR/status local modules_window_path=$PLUGIN_DIR/window + local modules_pane_path=$PLUGIN_DIR/pane local module_index=0; local module_name @@ -307,6 +308,9 @@ load_modules() { local module_path=$modules_window_path/$module_name.sh source $module_path + local module_path=$modules_pane_path/$module_name.sh + source $module_path + if [ 0 -eq $? ] then loaded_modules="$loaded_modules$( show_$module_name $module_index )" diff --git a/pane/pane_default_format.sh b/pane/pane_default_format.sh index e69de29..30cbb4d 100644 --- a/pane/pane_default_format.sh +++ b/pane/pane_default_format.sh @@ -0,0 +1,11 @@ +show_pane_default_format() { + local number="#I" + local color="$thm_blue" + 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 fill="$(get_tmux_option "@catppuccin_pane_default_fill" "number")" # number, all, none + + local default_pane_format=$( build_pane_format "$number" "$color" "$background" "$text" "$fill" ) + + echo "$default_pane_format" +} From 0972b6d30048578dbe651d817b7a04389d803bfa Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Thu, 11 Jan 2024 16:22:11 +0200 Subject: [PATCH 5/8] feat: pane module --- catppuccin.tmux | 24 +++++++++++++----------- pane/pane/pane_default_format.sh | 12 ++++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 pane/pane/pane_default_format.sh diff --git a/catppuccin.tmux b/catppuccin.tmux index e0dab4c..b445495 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -90,7 +90,6 @@ build_pane_format() { local show_middle_separator="#[fg=$background,bg=$color,nobold,nounderscore,noitalics]$pane_middle_separator" local show_text="#[fg=$background,bg=$color]$text" local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" - fi if [ "$fill" = "number" ] @@ -308,6 +307,13 @@ load_modules() { local module_path=$modules_window_path/$module_name.sh source $module_path + if [ 0 -eq $? ] + then + loaded_modules="$loaded_modules$( show_$module_name $module_index )" + module_index=$module_index+1 + continue + fi + local module_path=$modules_pane_path/$module_name.sh source $module_path @@ -318,6 +324,7 @@ load_modules() { continue fi + done echo "$loaded_modules" @@ -356,17 +363,18 @@ main() { set message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre" # panes - local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_blue}") + local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_gray}") local pane_active_border_style=$(get_tmux_option "@catppuccin_pane_active_border_style" "fg=${thm_orange}") local pane_left_separator=$(get_tmux_option "@catppuccin_pane_left_separator" "█") local pane_middle_separator=$(get_tmux_option "@catppuccin_pane_middle_separator" "█") local pane_right_separator=$(get_tmux_option "@catppuccin_pane_right_separator" "█") local pane_number_position=$(get_tmux_option "@catppuccin_pane_number_position" "left") # right, left local pane_status_enable=$(get_tmux_option "@catppuccin_pane_status_enable" "no") + local pane_format=$( load_modules "pane_default_format") - local pane_current_format=$( load_modules "pane_current_format") - set pane-border-style "${pane_border_style}" - set pane-active-border-style "${pane_active_border_style}" + setw pane-active-border-style "$pane_active_border_style" + setw pane-border-style "$pane_border_style" + setw pane-border-format "$pane_format" # windows setw window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none" @@ -402,12 +410,6 @@ main() { set status-left "$loaded_modules_left" set status-right "$loaded_modules_right" - # --------=== Panes - # - - local pane_format=$( load_modules "pane_default_format") - setw pane-border-format "$pane_format" - # --------=== Modes # setw clock-mode-colour "${thm_blue}" diff --git a/pane/pane/pane_default_format.sh b/pane/pane/pane_default_format.sh new file mode 100644 index 0000000..8e754b6 --- /dev/null +++ b/pane/pane/pane_default_format.sh @@ -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" +} From 38b25a816d1eb6cd97ce18c52255489f64d9b014 Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Thu, 11 Jan 2024 21:03:25 +0200 Subject: [PATCH 6/8] feat: pane enable & top/bottom --- catppuccin.tmux | 86 ++++++++++++++++---------------- pane/pane/pane_default_format.sh | 12 ----- pane/pane_default_format.sh | 9 ++-- 3 files changed, 47 insertions(+), 60 deletions(-) delete mode 100644 pane/pane/pane_default_format.sh diff --git a/catppuccin.tmux b/catppuccin.tmux index b445495..9279836 100755 --- a/catppuccin.tmux +++ b/catppuccin.tmux @@ -69,62 +69,58 @@ build_pane_format() { if [ "$pane_status_enable" = "yes" ] then - local icon="$( build_pane_icon )" - text="$text $icon" - fi + if [ "$fill" = "none" ] + then + local show_left_separator="#[fg=$thm_gray,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" + local show_number="#[fg=$thm_fg,bg=$thm_gray]$number" + local show_middle_separator="#[fg=$thm_fg,bg=$thm_gray,nobold,nounderscore,noitalics]$pane_middle_separator" + local show_text="#[fg=$thm_fg,bg=$thm_gray]$text" + local show_right_separator="#[fg=$thm_gray,bg=$thm_bg]$pane_right_separator" + fi - if [ "$fill" = "none" ] - then - local show_left_separator="#[fg=$thm_gray,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" - local show_number="#[fg=$thm_fg,bg=$thm_gray]$number" - local show_middle_separator="#[fg=$thm_fg,bg=$thm_gray,nobold,nounderscore,noitalics]$pane_middle_separator" - local show_text="#[fg=$thm_fg,bg=$thm_gray]$text" - local show_right_separator="#[fg=$thm_gray,bg=$thm_bg]$pane_right_separator" + if [ "$fill" = "all" ] + then + local show_left_separator="#[fg=$color,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" + local show_number="#[fg=$background,bg=$color]$number" + local show_middle_separator="#[fg=$background,bg=$color,nobold,nounderscore,noitalics]$pane_middle_separator" + local show_text="#[fg=$background,bg=$color]$text" + local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" + fi - fi + if [ "$fill" = "number" ] + then + local show_number="#[fg=$background,bg=$color]$number" + local show_middle_separator="#[fg=$color,bg=$background,nobold,nounderscore,noitalics]$pane_middle_separator" + local show_text="#[fg=$thm_fg,bg=$background]$text" - if [ "$fill" = "all" ] - then - local show_left_separator="#[fg=$color,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" - local show_number="#[fg=$background,bg=$color]$number" - local show_middle_separator="#[fg=$background,bg=$color,nobold,nounderscore,noitalics]$pane_middle_separator" - local show_text="#[fg=$background,bg=$color]$text" - local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" - fi + if [ "$pane_number_position" = "right" ] + then + local show_left_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" + local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" + fi - if [ "$fill" = "number" ] - then - local show_number="#[fg=$background,bg=$color]$number" - local show_middle_separator="#[fg=$color,bg=$background,nobold,nounderscore,noitalics]$pane_middle_separator" - local show_text="#[fg=$thm_fg,bg=$background]$text" + if [ "$pane_number_position" = "left" ] + then + local show_right_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_right_separator" + local show_left_separator="#[fg=$color,bg=$thm_bg]$pane_left_separator" + fi + + fi + + local final_pane_format if [ "$pane_number_position" = "right" ] then - local show_left_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_left_separator" - local show_right_separator="#[fg=$color,bg=$thm_bg]$pane_right_separator" + final_pane_format="$show_left_separator$show_text$show_middle_separator$show_number$show_right_separator" fi if [ "$pane_number_position" = "left" ] then - local show_right_separator="#[fg=$background,bg=$thm_bg,nobold,nounderscore,noitalics]$pane_right_separator" - local show_left_separator="#[fg=$color,bg=$thm_bg]$pane_left_separator" + final_pane_format="$show_left_separator$show_number$show_middle_separator$show_text$show_right_separator" fi + echo "$final_pane_format" fi - - local final_pane_format - - if [ "$pane_number_position" = "right" ] - then - final_pane_format="$show_left_separator$show_text$show_middle_separator$show_number$show_right_separator" - fi - - if [ "$pane_number_position" = "left" ] - then - final_pane_format="$show_left_separator$show_number$show_middle_separator$show_text$show_right_separator" - fi - - echo "$final_pane_format" } build_window_format() { @@ -363,15 +359,17 @@ main() { set message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre" # panes + local pane_status_enable=$(get_tmux_option "@catppuccin_pane_status_enabled" "no") # yes + local pane_border_status=$(get_tmux_option "@catppuccin_pane_border_status" "top") # bottom local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_gray}") local pane_active_border_style=$(get_tmux_option "@catppuccin_pane_active_border_style" "fg=${thm_orange}") local pane_left_separator=$(get_tmux_option "@catppuccin_pane_left_separator" "█") local pane_middle_separator=$(get_tmux_option "@catppuccin_pane_middle_separator" "█") local pane_right_separator=$(get_tmux_option "@catppuccin_pane_right_separator" "█") local pane_number_position=$(get_tmux_option "@catppuccin_pane_number_position" "left") # right, left - local pane_status_enable=$(get_tmux_option "@catppuccin_pane_status_enable" "no") - local pane_format=$( load_modules "pane_default_format") + + setw pane-border-status "$pane_border_status" setw pane-active-border-style "$pane_active_border_style" setw pane-border-style "$pane_border_style" setw pane-border-format "$pane_format" diff --git a/pane/pane/pane_default_format.sh b/pane/pane/pane_default_format.sh deleted file mode 100644 index 8e754b6..0000000 --- a/pane/pane/pane_default_format.sh +++ /dev/null @@ -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" -} diff --git a/pane/pane_default_format.sh b/pane/pane_default_format.sh index 30cbb4d..8e754b6 100644 --- a/pane/pane_default_format.sh +++ b/pane/pane_default_format.sh @@ -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" } From 6bc229cdfdfe1fc4d14afc7dfa88e0bb8a26378f Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Thu, 11 Jan 2024 21:56:03 +0200 Subject: [PATCH 7/8] feat: README --- README.md | 13 +++++++++++++ pane/pane_default_format.sh | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 75e0639..f5494e7 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,19 @@ Values: - icon - only the icon of the module will have color - all - the entire module will have the same color +### Pane + +set -g @catppuccin_pane_status_enabled "yes" +set -g @catppuccin_pane_border_status "top" +set -g @catppuccin_pane_left_separator "" +set -g @catppuccin_pane_right_separator "" +set -g @catppuccin_pane_middle_separator "█ " +set -g @catppuccin_pane_number_position "left" +set -g @catppuccin_pane_default_fill "number" +set -g @catppuccin_pane_default_text "#{b:pane_current_path}" +set -g @catppuccin_pane_border_style "fg=$tmux_gray" +set -g @catppuccin_pane_active_border_style "fg=$tmux_orange" + #### Set the module list ```sh set -g @catppuccin_status_modules_right "application session" diff --git a/pane/pane_default_format.sh b/pane/pane_default_format.sh index 8e754b6..a3f177c 100644 --- a/pane/pane_default_format.sh +++ b/pane/pane_default_format.sh @@ -1,7 +1,7 @@ show_pane_default_format() { local number="#{pane_index}" - local color="$thm_green" - local background="$thm_gray" + local color="$(get_tmux_option "@catppuccin_pane_color" "$thm_green")" + local background="$(get_tmux_option "@catppuccin_pane_background_color" "$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}" From 26b7cebfb126228432c07118193e79a102c794b8 Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Thu, 11 Jan 2024 22:08:49 +0200 Subject: [PATCH 8/8] feat: update README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5494e7..80c2d86 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ 2. [Window default](#window-default) 3. [Window current](#window-current) 4. [Status](#status) + 4. [Pane](#pane) 5. [Customizing modules](#customizing-modules) 6. [Battery module](#battery-module) 5. [Create a custom module](#create-a-custom-module) @@ -213,6 +214,8 @@ Values: ### Pane +```sh +tmux_orange="#fab387" set -g @catppuccin_pane_status_enabled "yes" set -g @catppuccin_pane_border_status "top" set -g @catppuccin_pane_left_separator "" @@ -221,8 +224,11 @@ set -g @catppuccin_pane_middle_separator "█ " set -g @catppuccin_pane_number_position "left" set -g @catppuccin_pane_default_fill "number" set -g @catppuccin_pane_default_text "#{b:pane_current_path}" -set -g @catppuccin_pane_border_style "fg=$tmux_gray" +set -g @catppuccin_pane_border_style "fg=$tmux_orange" set -g @catppuccin_pane_active_border_style "fg=$tmux_orange" +set -g @catppuccin_pane_color "$tmux_orange" +set -g @catppuccin_pane_background_color "$tmux_orange" +``` #### Set the module list ```sh