feat: README

This commit is contained in:
Emil Toivainen 2024-01-11 21:56:03 +02:00
parent 38b25a816d
commit 6bc229cdfd
2 changed files with 15 additions and 2 deletions

View file

@ -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"

View file

@ -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}"