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.
|
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
|
### Status
|
||||||
|
|
||||||
#### Set the status module left separator:
|
#### Set the status module left separator:
|
||||||
|
|
|
@ -284,8 +284,10 @@ main() {
|
||||||
set message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre"
|
set message-command-style "fg=${thm_cyan},bg=${thm_gray},align=centre"
|
||||||
|
|
||||||
# panes
|
# panes
|
||||||
set pane-border-style "fg=${thm_gray}"
|
local pane_border_style=$(get_tmux_option "@catppuccin_pane_border_style" "fg=${thm_gray}")
|
||||||
set pane-active-border-style "fg=${thm_blue}"
|
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
|
# windows
|
||||||
setw window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none"
|
setw window-status-activity-style "fg=${thm_fg},bg=${thm_bg},none"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue