Krolyxon
Commit 61591c8

Branches

Refs →

aurora.confighyprsourcewindow_rules.lua

53 lines · 1.1 KB · Lua

1--------------------------------------------------
2-- Window rules
3--------------------------------------------------
4hl.window_rule({
5 name = "suppress-maximize-events",
6
7 match = {
8 class = ".*",
9 },
10
11 suppress_event = "maximize",
12})
13
14hl.window_rule({
15 name = "fix-xwayland-drags",
16
17 match = {
18 class = "^$",
19 title = "^$",
20 xwayland = true,
21 float = true,
22 fullscreen = false,
23 pin = false,
24 },
25
26 no_focus = true,
27})
28
29hl.window_rule({
30 name = "move-hyprland-run",
31
32 match = {
33 class = "hyprland-run",
34 },
35
36 move = "20 monitor_h-120",
37 float = true,
38})
39
40-- aurora's settings app: a normal window, opened maximized (glyph's full-screen prefs layout, but still a window)
41hl.window_rule({
42 name = "aurora-settings",
43
44 match = {
45 class = "^org.quickshell$",
46 title = "^aurora settings$",
47 },
48
49 maximize = true,
50})
51
52-- aurora's layers run their own open/close motion (Theme.t); a Hyprland slide on top would double it
53hl.layer_rule({ match = { namespace = "aurora-.*" }, no_anim = true })