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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
|
# More option see https://github.com/DreamMaoMao/mango/wiki/
# Window effect
blur=1
blur_layer=0
blur_optimized=1
blur_params_num_passes = 1
blur_params_radius = 2
blur_params_noise = 0.02
blur_params_brightness = 0.9
blur_params_contrast = 0.9
blur_params_saturation = 1.2
shadows = 1
layer_shadows = 0
shadow_only_floating = 1
shadows_size = 10
shadows_blur = 15
shadows_position_x = 0
shadows_position_y = 0
shadows_color= 0x000000ff
border_radius=0
no_radius_when_single=0
focused_opacity=1.0
unfocused_opacity=1.0
dim_enable=1
dim_focused_color=0x00000000
dim_unfocused_color=0x00000033
# Animation Configuration(support type:zoom,slide)
# tag_animation_direction: 1-horizontal,0-vertical
animations=1
layer_animations=1
animation_type_open=slide
animation_type_close=slide
animation_fade_in=1
animation_fade_out=1
tag_animation_direction=1
tag_num=4
zoom_initial_ratio=0.4
zoom_end_ratio=0.8
fade_in_begin_opacity=0.5
fade_out_begin_opacity=0.8
animation_duration_move=500
animation_duration_open=400
animation_duration_tag=350
animation_duration_close=800
animation_duration_focus=0
animation_curve_open=0.46,1.0,0.29,1
animation_curve_move=0.46,1.0,0.29,1
animation_curve_tag=0.46,1.0,0.29,1
animation_curve_close=0.08,0.92,0,1
animation_curve_focus=0.46,1.0,0.29,1
animation_curve_opacity_fade_out=0.5,0.5,0.5,0.5
animation_curve_opacity_fade_in=0.46,1.0,0.29,1
circle_layout=scroller
# Scroller Layout Setting
scroller_structs=0
scroller_default_proportion=0.6
scroller_focus_center=0
scroller_prefer_center=0
edge_scroller_pointer_focus=1
edge_scroller_focus_allow_speed=0.0
# scroller_default_proportion_single=1.0
# scroller_ignore_proportion_single=0
scroller_proportion_preset=0.4,1.0,0.6
# Overview Setting
hotarea_size=10
enable_hotarea=0
hotarea_disable_on_fullscreen=1
overview_gap_inner=5
overview_gap_outer=30
overcircle_center_ratio=0.5
# Misc
no_border_when_single=0
axis_bind_apply_timeout=100
focus_on_activate=1
idle_inhibit_ignore_visible=0
idle_inhibit_when_fullscreen=0
sloppy_focus=1
warp_cursor=1
focus_cross_monitor=0
focus_direction_only_zone_overlap=1
focus_cross_tag=0
enable_floating_snap=0
snap_distance=30
float_full_to_top=0
cursor_theme=LyraB-cursors
cursor_size=32
drag_tile_to_tile=1
drag_tile_small=1
# keyboard
repeat_rate=40
repeat_delay=250
numlock_on=1
xkb_rules_layout=br,us
xkb_rules_options=compose:ralt,grp:win_space_toggle
# Trackpad
# need relogin to make it apply
disable_trackpad=0
tap_to_click=1
tap_and_drag=1
drag_lock=1
trackpad_natural_scrolling=1
trackpad_disable_while_typing=1
trackpad_left_handed=0
trackpad_middle_button_emulation=1
swipe_min_threshold=1
# mouse
# need relogin to make it apply
mouse_natural_scrolling=0
# Appearance
gap_inner_horizontal=0
gap_inner_vertical=0
gap_outer_horizontal=0
gap_outer_vertical=0
scratchpad_width_ratio=0.8
scratchpad_height_ratio=0.9
border_px=2
root_color=0x201b14ff
border_color=0xdfdfdfff
drop_color=0x8FBA7C55
split_color=0xEB441EFF
focus_color=0x799df6ff
maximized_screen_color=0x799df6ff
urgent_color=0xad401fff
scratchpad_color=0x516c93ff
global_color=0xb153a7ff
overlay_color=0x14a57cff
# layout support:
# tile,scroller,grid,deck,monocle,center_tile,vertical_tile,vertical_scroller
tag_rule=id:1,layout_name:scroller
tag_rule=id:2,layout_name:scroller
tag_rule=id:3,layout_name:scroller
tag_rule=id:4,layout_name:scroller
tag_rule=id:5,layout_name:scroller
tag_rule=id:6,layout_name:scroller
tag_rule=id:7,layout_name:scroller
tag_rule=id:8,layout_name:scroller
tag_rule=id:9,layout_name:scroller
# window rules
window_rule=tags:2,app_id:org.nicotine_plus.Nicotine
window_rule=tags:2,app_id:^io.github.diegopvlk.Cine
window_rule=tags:3,app_id:^org.prismlauncher.PrismLauncher
window_rule=tags:3,app_id:^Minecraft(.-)\n
window_rule=tags:3,force_tearing:1,app_id:^PillarsOfEternity(.-)\n
window_rule=tags:3,app_id:steam
window_rule=tags:3,app_id:^Steam
window_rule=tags:3,app_id:^com.heroicgameslauncher.hgl
window_rule=tags:3,app_id:^PEAK.exe
window_rule=tags:3,app_id:^SS14.Loader
window_rule=tags:3,app_id:^SS14.Launcher
# SS14 dev
window_rule=tags:3,app_id:^Content.Client
window_rule=tags:4,app_id:firefox
env=DISPLAY,:0
env=GRIM_DEFAULT_DIR,$HOME/Imagens/screenshots
env=LIBVA_DRIVER_NAME,nvidia
env=__GLX_VENDOR_LIBRARY_NAME, nvidia
env=NVD_BACKEND, direct
var=term,kitty
var=editor,vim
# Key Bindings
# key name refer to `xev` or `wev` command output,
# mod keys name: super,ctrl,alt,shift,none
# reload config
bind=SUPER+Alt,r,reload_config
# menu and terminal
bind=Alt,space,spawn,anyrun
bind=SUPER,e,spawn,$term
bind=SUPER+Shift,e,spawn,$term -e $editor
# exit
bind=SUPER+Alt,q,quit
bind=SUPER,q,killclient
bind=SUPER+ALT,l,spawn,hyprlock
# switch window focus
bind=SUPER,j,focusstack,prev
bind=SUPER,k,focusstack,next
# swap window
bind=SUPER+SHIFT,j,exchange_client,left
bind=SUPER+SHIFT,k,exchange_client,right
# switch window status
bind=ALT,Tab,togglejump,
bindc=SUPER+SHIFT,f,togglefloating,
bindc=SUPER+SHIFT,f,toggleglobal
bind=SUPER,m,togglemaximizescreen,
bind=SUPER,f,togglefullscreen,
# bind=ALT+SHIFT,f,togglefakefullscreen,
# bind=SUPER,i,minimized,
bind=SUPER,o,toggleoverlay,
bind=SUPER,i,toggleoverview,
# bind=SUPER+SHIFT,I,restore_minimized
# bind=ALT,z,toggle_scratchpad
# scroller layout
bind=SUPER,x,switch_proportion_preset,
bind=alt+super+ctrl,Left,scroller_stack,left
bind=alt+super+ctrl,Right,scroller_stack,right
# switch layout
bind=SUPER,n,switch_layout
# tag switch
bind=SUPER,Left,viewtoleft,0
# bind=CTRL,Left,viewtoleft_have_client,0
bind=SUPER,Right,viewtoright,0
# bind=CTRL,Right,viewtoright_have_client,0
# bind=CTRL+SUPER,Left,tagtoleft,0
# bind=CTRL+SUPER,Right,tagtoright,0
bind=SUPER,1,comboview,1,0
bind=SUPER,2,comboview,2,0
bind=SUPER,3,comboview,3,0
bind=SUPER,4,comboview,4,0
bind=SUPER,0,view,0,0
bind=SUPER,Tab,view,-1,0
# tag: move client to the tag and focus it
# tagsilent: move client to the tag and not focus it
# bind=Alt,1,tagsilent,1
bind=SUPER+Shift,1,tag,1,0
bind=SUPER+Shift,2,tag,2,0
bind=SUPER+Shift,3,tag,3,0
bind=SUPER+Shift,4,tag,4,0
bind=SUPER+Shift,0,toggleglobal
# monitor switch
bind=SUPER,comma,tagmon,left
bind=SUPER,period,tagmon,right
# clipboard
bind=SUPER,c,spawn,cliphist wipe
bind=SUPER,v,spawn_shell,cliphist list | anyrun --plugins libstdin.so | cliphist decode | wl-copy
# print
bind=NONE,Print,spawn_shell,slurp -d | grim -g -
bind=CTRL,Print,spawn_shell,f=$(mktemp -t screenshot-XXXXXX.png) && grim "$f" && wl-copy < "$f" && rm -f "$f"
bind=Alt,Print,spawn,grim
# media keys
# Obs.: `bindl` permite uso do atalho quando a tela está travada
bindl=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-
bindl=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+
bindl=NONE,XF86AudioMicMute,spawn,wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindl=NONE,XF86AudioStop,spawn,playerctl stop
bindl=NONE,XF86AudioPlay,spawn,playerctl play-pause
bindl=NONE,XF86AudioPrev,spawn,playerctl previous
bindl=NONE,XF86AudioNext,spawn,playerctl next
bindl=Shift,F5,spawn,playerctl stop
bindl=Shift,F6,spawn,playerctl play-pause
bindl=Shift,F7,spawn,playerctl previous
bindl=Shift,F8,spawn,playerctl next
bindl=NONE,XF86MonBrightnessDown,spawn,brightnessctl s 10%-
bindl=NONE,XF86MonBrightnessUp,spawn,brightnessctl s 10%+
bind=SHIFT,F11,spawn,brightnessctl s 10%-
bind=SHIFT,F12,spawn,brightnessctl s 10%+
# Mouse Button Bindings
# btn_left and btn_right can't bind none mod key
mousebind=SUPER,btn_left,moveresize,curmove
mousebind=SUPER,btn_middle,togglefloating
mousebind=SUPER,btn_right,moveresize,curresize
# Axis Bindings
axisbind=SUPER,UP,viewtoleft_have_client
axisbind=SUPER,DOWN,viewtoright_have_client
# Gesture Bindings
gesturebind=none,left,3,focusdir,left
gesturebind=none,right,3,focusdir,right
gesturebind=none,up,3,focusdir,up
gesturebind=none,down,3,focusdir,down
gesturebind=none,right,4,viewprev_have_client
gesturebind=none,left,4,viewnext_have_client
gesturebind=none,up,4,enteroverview
gesturebind=none,down,4,leaveoverview
# layer rule
layer_rule=animation_type_open:zoom,layer_name:anyrun
layer_rule=animation_type_close:zoom,layer_name:anyrun
exec_once=anyrun daemon
exec_once=ashell
exec_once=awww-daemon
exec_once=kanshi
exec_once=wl-paste -t text --watch cliphist store
exec_once=xwayland-satellite
|