-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyprland.conf
345 lines (265 loc) · 7.92 KB
/
hyprland.conf
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
# This file contains general customization options
# For Environment variables see env.conf
# For Keybinds variables see keybinds.conf
# For Auto-run stuff see execs.conf
source=~/.config/hypr/env.conf
$mainMod = ALT
# MONITOR CONFIG
monitor=eDP-1,preferred,0x0,1.25
# monitor=eDP-2,3840x2160@60,1920x0,1
monitor=HDMI-A-1,highres,auto,2
# monitor=eDP-2,highres,auto,1
# monitor=HDMI-A-1,1920x1080@60,1920x0,1
xwayland {
force_zero_scaling = true
}
source=~/.config/hypr/execs.conf
source=~/.config/hypr/keybinds.conf
input {
# Mouse
sensitivity=1
# accel_profile = adaptive
force_no_accel = false
#sensitivity = 0
#
kb_options=ctrl:nocaps
# Keyboard
kb_layout = us
numlock_by_default = true
repeat_delay = 200
repeat_rate = 50
touchpad {
natural_scroll = yes
disable_while_typing = true
clickfinger_behavior = true
scroll_factor = 1.0
}
scroll_method = 2fg
follow_mouse = 2
# mouse_refocus = false
# float_switch_override_focus = 1
}
binds {
# focus_window_on_workspace_change = true
scroll_event_delay = 100
# movefocus_cycles_fullscreen = false
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true
workspace_swipe_distance = 700
workspace_swipe_fingers = 4
workspace_swipe_cancel_ratio = 0.2
workspace_swipe_min_speed_to_force = 2
workspace_swipe_direction_lock = true
workspace_swipe_direction_lock_threshold = 0
workspace_swipe_create_new = true
}
general {
# Gaps and border
gaps_in = 4
gaps_out = 0
border_size = 0
no_border_on_floating = true
# Functionality
no_focus_fallback = true
layout =master
resize_on_border = true
#focus_to_other_workspaces = true
# allow_tearing = false # some guy told me tearing might make things smoother idk
# no_cursor_warps = true
}
group {
}
master {
# new_is_master = false
inherit_fullscreen = false
mfact = 0.75
no_gaps_when_only = 0
orientation = left
}
dwindle {
preserve_split = true # you definitely want this
# no_gaps_when_only = 1
smart_split = false
smart_resizing = false
}
decoration {
rounding = 12
blur {
enabled = true
xray = true
size = 8
passes = 3
new_optimizations = true
special = true #special 工作区保持模糊
# popups = true
}
blurls=dock1
blurls=applauncher
blurls=dymicbar1
blurls=top_notification_1
blurls=deskCenter_1
# Shadow
# drop_shadow = false
drop_shadow = true
shadow_range = 30
shadow_render_power = 10
col.shadow = rgba(2D3031FF)
shadow_range = 15
shadow_offset = 0 3
shadow_render_power = 6
col.shadow = rgba(00000044)
# Shader
# screen_shader = ~/.config/hypr/shaders/nothing.frag
# screen_shader = ~/.config/hypr/shaders/vibrance.frag
# Dim
dim_inactive = false
dim_strength = 0.1
dim_special = 0
}
animations {
enabled = true
# Animation curves
bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = fluent_decel, 0.1, 1, 0, 1
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
# Animation configs
# animation = windows, 1, 3, winIn,popin
animation = windowsIn, 1, 3, md3_decel, popin
animation = windowsOut, 1, 3, md3_accel,popin
animation = windowsMove, 1, 3, md3_standard, popin
animation = workspaces, 1, 3.5, md3_decel, slide
# animation = workspaces, 1, 7, fluent_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 10, fluent_decel,slidefade
# animation = layers,1,2,fluent_decel,slidefadevert
# animation = layersOut,0,1,fluent_decel
animation = border, 1, 5, default
animation = fade, 1, 5,overshot
}
# layerrule=animation slide,applauncher
misc {
vfr = true
vrr = 1
focus_on_activate = false
animate_manual_resizes = false
animate_mouse_windowdragging = false
#suppress_portal_warnings = true
enable_swallow = true
layers_hog_keyboard_focus = false
disable_hyprland_logo = true
# new_window_takes_over_fullscreen = 2
}
debug {
# overlay = true
#damage_tracking = 0
#damage_blink = yes
}
decoration {
#screen_shader = ~/.config/hypr/shaders/drugs.frag
#screen_shader = ~/.config/hypr/shaders/crt.frag
}
# windowrulev2 = float, class:.*
windowrule = opacity 1 override 0.75 override, .*
windowrule = float, ^(steam)$
windowrule = float, ^(guifetch)$ # FlafyDev/guifetchc
windowrule = pin, ^(showmethekey-gtk)$
# Dialogs
windowrule=float,title:^(Open File)(.*)$
windowrule=float,title:^(Select a File)(.*)$
windowrule=float,title:^(Choose wallpaper)(.*)$
windowrule=float,title:^(Open Folder)(.*)$
windowrule=float,title:^(Save As)(.*)$
windowrule=float,title:^(Library)(.*)$
windowrule = float, file_progress
windowrule = float, confirm
windowrule = float, dialog
windowrule = float, download
windowrule = float, notification
windowrule = float, error
windowrule = float, splash
windowrule = float, confirmreset
windowrule = float, title:Open File
windowrule = float, title:branchdialog
windowrule = float, Lxappearance
windowrule = float, Rofi
windowrule = float, Diodon
windowrule = float,viewnior
windowrule = float,feh
windowrule = float, pavucontrol-qt
windowrule = float, pavucontrol
windowrule = float, QQ
windowrule = float, file-roller
windowrule = float, title:wlogout
windowrule = float, title:^(Media viewer)$
windowrule = float, title:^(Volume Control)$
windowrule = float, title:^(Picture-in-Picture)$
windowrule = float,title:^(查找与替换 — Ndd)$
# windowrule = rounding 10,com.alibabainc.dingtalk
# windowrule = noblur, title:^(chrome)(.*)$
windowrule=rounding 0,title:^(Fcitx)(.*)$
windowrule=rounding 0,opacity 1,title:^(fcitx)(.*)$
windowrulev2 = float, workspace:4
layerrule=ignorealpha,dock1
layerrule=xray 0,dock1
#
layerrule=ignorealpha,applauncher
layerrule=xray 0,applauncher
layerrule=ignorealpha,deskCenter_1
# layerrule=xray 0,deskCenter_1
layerrule=ignorealpha 0.6, dymicbar1
layerrule=ignorealpha,top_notification_1
layerrule=ignorealpha,dock_center_left
layerrule=xray 0,runApps
# layerrule= xray 0,applauncher
# layerrule = noanim, .*
# layerrule = xray 1, .*
# layerrule = blur, eww
# layerrule = ignorealpha 0.8, eww
# layerrule = noanim, noanim
# layerrule = blur, noanim
# layerrule = blur, gtk-layer-shell
# layerrule = ignorezero, gtk-layer-shell
# layerrule = blur, launcher
# layerrule = ignorealpha 0.5, launcher
# layerrule = blur, notifications
# layerrule = ignorealpha 0.69, notifications
#
# # ags
# layerrule = blur, bar
# layerrule = ignorealpha 0.64, bar
# layerrule = blur, corner.*
# layerrule = ignorealpha 0.69, corner.*
# layerrule = blur, indicator.*
# layerrule = ignorealpha 0.69, indicator.*
# layerrule = blur, overview
# layerrule = ignorealpha 0.69, overview
# layerrule = blur, cheatsheet
# layerrule = ignorealpha 0.69, cheatsheet
# layerrule = blur, sideright
# layerrule = ignorealpha 0.69, sideright
# layerrule = blur, sideleft
# layerrule = ignorealpha 0.69, sideleft
# layerrule = blur, indicatorundefined
# layerrule = ignorealpha 0.69, indicatorundefined
# layerrule = blur, osk
# layerrule = ignorealpha 0.69, osk
# layerrule = blur, session
# Dynamic colors
source=~/.config/hypr/colors.conf
# 设置workspace
workspace = 1, monitor:HDMI-A-1,default:true
workspace = 2, monitor:HDMI-A-1,default:true
workspace = 3, monitor:HDMI-A-1,default:true
workspace = 4, monitor:HDMI-A-1,default:true
workspace = 5, monitor:HDMI-A-1,default:true
workspace = 6, monitor:HDMI-A-1,default:true
workspace = 7, monitor:eDP-1,default:true
bind=,248,exec,notify-send deez nuts