feat: Configure pane (active) border styles
This commit is contained in:
parent
47e33044b4
commit
ae7bd3ed77
2 changed files with 15 additions and 2 deletions
11
README.md
11
README.md
|
@ -174,6 +174,17 @@ set -g @catppuccin_window_format_directory_text "#{b:pane_current_path}"
|
|||
```
|
||||
Use this to overide the way the directory is displayed.
|
||||
|
||||
### Pane
|
||||
|
||||
#### Set the pane border style:
|
||||
|
||||
set -g @catppuccin_pane_border_style "fg=blue" # Use a value compatible with the standard tmux 'pane-border-style'
|
||||
|
||||
#### Set the pane active border style:
|
||||
|
||||
set -g @catppuccin_pane_active_border_style "fg=red" # Use a value compatible with the standard tmux 'pane-border-active-style'
|
||||
|
||||
|
||||
### Status
|
||||
|
||||
#### Set the status module left separator:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue