From 6bc229cdfdfe1fc4d14afc7dfa88e0bb8a26378f Mon Sep 17 00:00:00 2001 From: Emil Toivainen Date: Thu, 11 Jan 2024 21:56:03 +0200 Subject: [PATCH] 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}"