feat(menu): add menu style options (#247)

add menu style options to allow `#{thm_x}` styling of menus.

- @catppuccin_menu_style (`menu-style`)
- @catppuccin_menu_selected_style (`menu-selected-style`)
- @catppuccin_menu_border_style (`menu-border-style`)
This commit is contained in:
Chet Luther 2024-07-15 11:04:49 -04:00 committed by GitHub
parent 33c4fd62df
commit 49972658aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 0 deletions

View file

@ -85,6 +85,15 @@ main() {
set message-style "fg=${thm_cyan},bg=${message_background},align=centre"
set message-command-style "fg=${thm_cyan},bg=${message_background},align=centre"
# menu
local menu_style menu_selected_style menu_border_style
menu_style=$(get_interpolated_tmux_option "@catppuccin_menu_style" "default")
menu_selected_style=$(get_interpolated_tmux_option "@catppuccin_menu_selected_style" "fg=${thm_gray},bg=${thm_yellow}")
menu_border_style=$(get_interpolated_tmux_option "@catppuccin_menu_border_style" "default")
set menu-style "$menu_style"
set menu-selected-style "$menu_selected_style"
set menu-border-style "$menu_border_style"
# panes
local pane_border_status pane_border_style \
pane_active_border_style pane_left_separator pane_middle_separator \