Skip to content

Commit

Permalink
Only set menu styling and popup styling on versions >= 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnsn committed Sep 15, 2024
1 parent 605f417 commit c11f6ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions catppuccin_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,21 @@ set -gF message-style "fg=#{@thm_sky},bg=$CTP_MESSAGE_BACKGROUND,align=centre"
set -gF message-command-style "fg=#{@thm_sky},bg=$CTP_MESSAGE_BACKGROUND,align=centre"

# menu
%if "#{>=:#{version},3.4}"
set -gF menu-style "#{E:@catppuccin_menu_style}"
set -gF menu-selected-style "#{E:@catppuccin_menu_selected_style}"
set -gF menu-border-style "#{E:@catppuccin_menu_border_style}"
%endif

# panes
set -wF pane-active-border-style "#{E:@catppuccin_pane_active_border_style}"
set -wF pane-border-style "#{E:@catppuccin_pane_border_style}"

# popups
%if "#{>=:#{version},3.4}"
set -wF popup-style "bg=#{@thm_bg},fg=#{@thm_fg}"
set -wF popup-border-style "fg=#{@thm_surface_1}"
%endif

# window status
%if "#{==:#{@catppuccin_window_status_style},default}"
Expand Down

0 comments on commit c11f6ba

Please sign in to comment.