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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
|
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,highres@highrr,auto,auto,bitdepth,10
# monitor=,preferred,auto,auto,bitdepth,10
###################
### MY PROGRAMS ###
###################
# Program defaults
$terminal = kitty
$termfloat = [global; float; size 40% 40%; workspace +0] alacritty msg create-window
$editor = lvim
# $browser = thorium-browser
$browser = zen-browser
$fileManager = thunar
$sessionManager = sddm
$menu = rofi -i -dmenu -theme $HOME/.config/rofi/configs.rasi
# Dirs
$HYPRDIR = $HOME/.config/hypr
$WAYBARDIR = $HOME/.config/waybar
$SCRIPTSDIR = $HOME/scripts
$rofiexec = $HOME/.config/rofi/scripts
# global vars
$outer_gaps = 12
source = $HYPRDIR/colors.conf
# misc
$waylandarg = --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto
#####################
### LOOK AND FEEL ###
#####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 5
gaps_out = 7
border_size = 3
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
# col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg # DO THIS LATER
# col.inactive_border = rgba(595959aa)
# col.active_border = rgb(00a7f5) rgb(538620) rgb(538620) rgb(00a7f5) 90deg
# col.inactive_border = rgb(00a7f5) rgb(538620) rgb(538620) rgb(00a7f5) 90deg
# col.active_border = rgb(00a7f5) rgb(538620)
# col.inactive_border = rgb(00a7f5) rgb(538620)
col.inactive_border = $background
col.active_border = $color15 $color13 $color10 $color8 $color6 $color4 $color2 $color0 # 45deg
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = true
layout = scrolling
snap {
enabled = true
}
}
# xwayland {
# force_zero_scaling = true
# }
# # https://wiki.hyprland.org/Configuring/Variables/#decoration
# decoration {
# rounding = 7
# Change transparency of focused and unfocused windows
active_opacity = 0.95
inactive_opacity = 0.85
fullscreen_opacity = 1.0
# col.shadow = rgba(1a1a1aee)
screen_shader = /usr/share/hyprshade/shaders/vibrance.glsl
# dim_inactive = true
# dim_strength = 0.4
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 6
passes = 3
# vibrancy = 1
popups = true
ignore_opacity = true # KEEP THIS, THIS MAKE BLUR ACTUALLY BLUR COOL
}
}
# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
enabled = true
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = windowovershot, 1, 1, 0, 1.05
bezier = overshot, 0.5, 1, 0, 1.2
# bezier = outsideIn, 0.5, 1.1, 0, 0.9
bezier = slow-fast, 1, 0.33, 0.3, 1
bezier = fast-slow, 0.33, 0.8, 0, 1
bezier = linear, 0, 0, 1, 1
# bezier = linear, 0, 0, 1, 1
# 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 = menu_decel, 0.1, 1, 0, 1
# bezier = menu_accel, 0.38, 0.04, 1, 0.07
# bezier = easeInOutCirc, 0.85, 0, 0.15, 1
# bezier = easeOutCirc, 0, 0.55, 0.45, 1
# bezier = easeOutExpo, 0.16, 1, 0.3, 1
# bezier = softAcDecel, 0.26, 0.26, 0.15, 1
# bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
animation = fade, 1, 4, md3_decel
animation = windows, 1, 3, overshot, slide
# animation = windowsOut, 1, 2, slow-fast, popin 15%
animation = windowsOut, 1, 2, slow-fast, popin 15%
# animation = windowsMove, 1, 2, md3_accel # when new window appears, it will block it for a while since its slower then windowIn animation
animation = workspaces, 1, 6, fast-slow, slide
animation = workspacesIn, 1, 6, fast-slow, slidefade
animation = borderangle, 1, 100, linear, loop
# 1. Using a predefined normalized spring
# Duration is still controlled by the '7' speed parameter
animation = windows, 1, 7, spring-snappy
# 2. Using a custom normalized spring
animation = workspaces, 1, 5, spring:0.8:20
# 3. Using Physics mode
# The '1' speed parameter is ignored; duration is calculated by physics
animation = windowsIn, 1, 1, spring-physics-bouncy
# 4. Using custom Physics parameters
# High damping (1.5) means it will slowly slide into place with zero bounce
animation = windowsOut, 1, 1, spring-physics:1.5:10
}
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
force_split = 3
}
# # https://wiki.hyprland.org/Configuring/Variables/#misc
# misc {
# force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers
# focus_on_activate = true
# # disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
# # vfr = false
# # vrr = 1 # 1 = always, 2 = only in full screen
# mouse_move_enables_dpms = true
key_press_enables_dpms = true
# animate_manual_resizes = true
# animate_mouse_windowdragging = true
middle_click_paste = false
enable_swallow = false # true
swallow_regex = ^(Alacritty)$
new_window_takes_over_fullscreen = 2
}
group {
auto_group = false
groupbar {
# enabled = false
render_titles = false
text_color = $foreground
col.active = $color0
col.inactive = $background
col.locked_active = $color0
col.locked_inactive = $background
}
col.border_active = $color0 $color15 $foreground $cursor
col.border_inactive = $background
col.border_locked_active = $color0 $background
col.border_locked_inactive = $background
}
# binds {
# workspace_back_and_forth = true
# }
render {
explicit_sync = 1
explicit_sync_kms = 1
direct_scanout = true
}
opengl {
# nvidia_anti_flicker = false
# force_introspection = 0
}
#############
### INPUT ###
#############
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
# scroll_factor = 1.0
# sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
numlock_by_default = true
# touchpad {
# natural_scroll = false
# }
}
# cursor {
# # allow_dumb_copy = true
# no_hardware_cursors = false
# # no_break_fs_vrr = true
# # zoom_rigid = true
# # persistent_warps = true
# }
plugin {
overview {
enabled = true
disableGestures = true
panelHeight = 150
}
# hyprfocus {
# enabled = yes
# focus_animation = shrink
# animate_floating = yes
# animate_worksapcechange = yes
# }
dynamic-cursors {
mode = stretch
shake {
effects = true
}
shaperule = text, none
# shaperule = clientside, none
}
# chromakey_background = $background
# hy3 {
# # disable gaps when only one window is onscreen
# # 0 - always show gaps
# # 1 - hide gaps with a single window onscreen
# # 2 - 1 but also show the window border
# # no_gaps_when_only = <int> # default: 0
# # policy controlling what happens when a node is removed from a group,
# # leaving only a group
# # 0 = remove the nested group
# # 1 = keep the nested group
# # 2 = keep the nested group only if its parent is a tab group
# # node_collapse_policy = <int> # default: 2
# # offset from group split direction when only one window is in a group
# # group_inset = <int> # default: 10
# # if a tab group will automatically be created for the first window spawned in a workspace
# # tab_first_window = <bool>
# # tab group settings
# tabs {
# # height of the tab bar
# # height = <int> # default: 15
# # padding between the tab bar and its focused node
# # padding = <int> # default: 5
# # the tab bar should animate in/out from the top instead of below the window
# # from_top = <bool> # default: false
# # rounding of tab bar corners
# # rounding = <int> # default: 3
# # render the window title on the bar
# # render_text = <bool> # default: true
# # center the window title
# # text_center = <bool> # default: false
# # font to render the window title with
# # text_font = <string> # default: Sans
# # height of the window title
# # text_height = <int> # default: 8
# # left padding of the window title
# # text_padding = <int> # default: 3
# # active tab bar segment color
# # col.active = <color> # default: 0xff32b4ff
# # urgent tab bar segment color
# # col.urgent = <color> # default: 0xffff4f4f
# # inactive tab bar segment color
# # col.inactive = <color> # default: 0x80808080
# # active tab bar text color
# # col.text.active = <color> # default: 0xff000000
# # urgent tab bar text color
# # col.text.urgent = <color> # default: 0xff000000
# # inactive tab bar text color
# # col.text.inactive = <color> # default: 0xff000000
# }
# # autotiling settings
# autotile {
# # enable autotile
# # enable = <bool> # default: false
# # make autotile-created groups ephemeral
# # ephemeral_groups = <bool> # default: true
# # if a window would be squished smaller than this width, a vertical split will be created
# # -1 = never automatically split vertically
# # 0 = always automatically split vertically
# # <number> = pixel height to split at
# # trigger_width = <int> # default: 0
# # if a window would be squished smaller than this height, a horizontal split will be created
# # -1 = never automatically split horizontally
# # 0 = always automatically split horizontally
# # <number> = pixel height to split at
# # trigger_height = <int> # default: 0
# # a space or comma separated list of workspace ids where autotile should be enabled
# # it's possible to create an exception rule by prefixing the definition with "not:"
# # workspaces = 1,2 # autotiling will only be enabled on workspaces 1 and 2
# # workspaces = not:1,2 # autotiling will be enabled on all workspaces except 1 and 2
# # workspaces = <string> # default: all
# }
# }
# hyprwinwrap {
# class = winwrap
# }
}
source = ~/.config/hypr/env.conf
# source = ~/.config/hypr/rules.conf
# source = ~/.config/hypr/binds.conf
bindo = ctrl shift, j, exec, ~/testscript
bind = ctrl shift, j, exec, ~/testscript
# binde = ctrl shift, j, exec, ~/testscript
# source = ~/.config/hypr/autostart.conf
debug:disable_logs = false
debug {
# overlay = true # show fps
# suppress_errors = true
error_position = 1
}
bind = ctrl shift, k, exec, $terminal
bind = ctrl shift, j, exec, $termfloat
bind = ctrl shift, ;, pin
bind = ctrl shift, ', fullscreen
layerrule = animation slide 45% in, rofi
layerrule = animation popin 45% in, rofi
bindm = super, mouse:272, movewindow
bindm = super, mouse:273, resizewindow
general:snap:respect_gaps = true
debug {
# damage_blink = true
suppress_errors = true
}
general:float_gaps = -1
layerrule = blur, quickshell::launcher.*
layerrule = ignorezero, quickshell::launcher.*
layerrule = dimaround, quickshell::launcher.*
layerrule = animation popin 45%, quickshell::launcher.*
source = ~/.config/hypr/env.conf
source = ~/.config/hypr/rules.conf
source = ~/.config/hypr/binds.conf
permission = /usr/bin/cliphist, clipboard-read, ask
group:disband_on_empty = true
|