-
-
Notifications
You must be signed in to change notification settings - Fork 825
Expand file tree
/
Copy pathcatppuccin_options_tmux.conf
More file actions
145 lines (134 loc) Β· 6.14 KB
/
catppuccin_options_tmux.conf
File metadata and controls
145 lines (134 loc) Β· 6.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# All options and their defaults.
#
# This is executed separately to the main configuration
# so that options are set before parsing the rest of the config.
# Reset everything if requested.
#
# Useful for auto switching between themes:
#
# set-hook -g client-dark-theme {
# set -g @catppuccin_flavor "frappe"
# set -g @catppuccin_reset "true"
# run ~/code/github.com/catppuccin/tmux/catppuccin.tmux
# }
# set-hook -g client-light-theme {
# set -g @catppuccin_flavor "latte"
# set -g @catppuccin_reset "true"
# run ~/code/github.com/catppuccin/tmux/catppuccin.tmux
# }
%if "#{==:#{@catppuccin_reset},true}"
set -Ugq @thm_bg
set -Ugq @thm_fg
set -Ugq @thm_rosewater
set -Ugq @thm_flamingo
set -Ugq @thm_rosewater
set -Ugq @thm_pink
set -Ugq @thm_mauve
set -Ugq @thm_red
set -Ugq @thm_maroon
set -Ugq @thm_peach
set -Ugq @thm_yellow
set -Ugq @thm_green
set -Ugq @thm_teal
set -Ugq @thm_sky
set -Ugq @thm_sapphire
set -Ugq @thm_blue
set -Ugq @thm_lavender
set -Ugq @thm_subtext_1
set -Ugq @thm_subtext_0
set -Ugq @thm_overlay_2
set -Ugq @thm_overlay_1
set -Ugq @thm_overlay_0
set -Ugq @thm_surface_2
set -Ugq @thm_surface_1
set -Ugq @thm_surface_0
set -Ugq @thm_mantle
set -Ugq @thm_crust
set -Ugq @catppuccin_window_status_style
set -Ugq @catppuccin_window_text_color
set -Ugq @catppuccin_window_number_color
set -Ugq @catppuccin_window_text
set -Ugq @catppuccin_window_number
set -Ugq @catppuccin_window_current_text_color
set -Ugq @catppuccin_window_current_number_color
set -Ugq @catppuccin_window_current_text
set -Ugq @catppuccin_window_current_number
set -Ugq @catppuccin_window_number_position
set -Ugq @catppuccin_window_flags
set -Ugq @catppuccin_window_flags_icon_last
set -Ugq @catppuccin_window_flags_icon_current
set -Ugq @catppuccin_window_flags_icon_zoom
set -Ugq @catppuccin_window_flags_icon_mark
set -Ugq @catppuccin_window_flags_icon_silent
set -Ugq @catppuccin_window_flags_icon_activity
set -Ugq @catppuccin_window_flags_icon_bell
set -Ugq @catppuccin_window_flags_icon_format
set -Ugq @catppuccin_status_left_separator
set -Ugq @catppuccin_status_middle_separator
set -Ugq @catppuccin_status_right_separator
set -Ugq @catppuccin_status_connect_separator
set -Ugq @catppuccin_status_module_text_bg
set -Ugq @catppuccin_window_current_left_separator
set -Ugq @catppuccin_window_current_middle_separator
set -Ugq @catppuccin_window_current_right_separator
# Finally reset the reset option.
set -Ug @catppuccin_reset
%endif
# DO NOT USE -o IN YOUR OWN CONFIGURATION
set -ogq @catppuccin_flavor "mocha"
set -ogq @catppuccin_status_background "default"
# Menu styling options
set -ogq @catppuccin_menu_selected_style "fg=#{@thm_fg},bold,bg=#{@thm_overlay_0}"
# Pane styling options (DO NOT USE -o IN YOUR OWN CONFIGURATION)
set -ogq @catppuccin_pane_status_enabled "no" # set to "yes" to enable
set -ogq @catppuccin_pane_border_status "off" # set to "yes" to enable
set -ogq @catppuccin_pane_border_style "fg=#{@thm_overlay_0}"
set -ogq @catppuccin_pane_active_border_style "##{?pane_in_mode,fg=#{@thm_lavender},##{?pane_synchronized,fg=#{@thm_mauve},fg=#{@thm_lavender}}}"
set -ogq @catppuccin_pane_left_separator "β"
set -ogq @catppuccin_pane_middle_separator "β"
set -ogq @catppuccin_pane_right_separator "β"
set -ogq @catppuccin_pane_color "#{@thm_green}"
set -ogq @catppuccin_pane_background_color "#{@thm_surface_0}"
set -ogq @catppuccin_pane_default_text "##{b:pane_current_path}"
set -ogq @catppuccin_pane_default_fill "number"
set -ogq @catppuccin_pane_number_position "left" # right, left
# NOTE: Changes to make the option names more intuitive and more closely follow
# the tmux naming conventions.
# @catppuccin_window_current_background -> @catppuccin_window_current_number_color
# @catppuccin_window_current_color -> @catppuccin_window_current_text_color
# @catppuccin_window_default_background -> @catppuccin_window_number_color
# @catppuccin_window_default_color -> @catppuccin_window_text_color
# @catppuccin_window_status -> @catppuccin_window_flags
#
# Removed:
# @catppuccin_window_default_fill, @catppuccin_window_current_fill
# Just set the number and text colors.
# Window options (DO NOT USE -o IN YOUR OWN CONFIGURATION)
set -ogq @catppuccin_window_status_style "basic" # basic, rounded, slanted, custom, or none
set -ogq @catppuccin_window_text_color "#{@thm_surface_0}"
set -ogq @catppuccin_window_number_color "#{@thm_overlay_2}"
set -ogq @catppuccin_window_text " #T"
set -ogq @catppuccin_window_number "#I"
set -ogq @catppuccin_window_current_text_color "#{@thm_surface_1}"
set -ogq @catppuccin_window_current_number_color "#{@thm_mauve}"
set -ogq @catppuccin_window_current_text " #T"
set -ogq @catppuccin_window_current_number "#I"
set -ogq @catppuccin_window_number_position "left"
# Window flags
set -ogq @catppuccin_window_flags "none"
set -ogq @catppuccin_window_flags_icon_last " σ°°" # -
set -ogq @catppuccin_window_flags_icon_current " σ°―" # *
set -ogq @catppuccin_window_flags_icon_zoom " σ°" # Z
set -ogq @catppuccin_window_flags_icon_mark " σ°" # M
set -ogq @catppuccin_window_flags_icon_silent " σ°" # ~
set -ogq @catppuccin_window_flags_icon_activity " σ±
«" # #
set -ogq @catppuccin_window_flags_icon_bell " σ°" # !
# Matches icon order when using `#F` (`#!~[*-]MZ`)
set -ogq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@catppuccin_window_flags_icon_activity},}##{?window_bell_flag,#{E:@catppuccin_window_flags_icon_bell},}##{?window_silence_flag,#{E:@catppuccin_window_flags_icon_silent},}##{?window_active,#{E:@catppuccin_window_flags_icon_current},}##{?window_last_flag,#{E:@catppuccin_window_flags_icon_last},}##{?window_marked_flag,#{E:@catppuccin_window_flags_icon_mark},}##{?window_zoomed_flag,#{E:@catppuccin_window_flags_icon_zoom},} "
# Status line options (DO NOT USE -o IN YOUR OWN CONFIGURATION)
set -ogq @catppuccin_status_left_separator "ξΆ"
set -ogq @catppuccin_status_middle_separator ""
set -ogq @catppuccin_status_right_separator " "
set -ogq @catppuccin_status_connect_separator "yes" # yes, no
# Maintain backwards compatibility. Use @catppuccin_status_module_bg_color if it is set.
set -ogq @catppuccin_status_module_text_bg "#{?@catppuccin_status_module_bg_color,#{E:@catppuccin_status_module_bg_color},#{@thm_surface_0}}"