Krolyxon
Commit 2d6af20

Branches

Refs →

aurora.confighyprsourcewindow_rules.lua

52 lines · 931 B · 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, floating and centred by default
41hl.window_rule({
42 name = "aurora-settings",
43
44 match = {
45 class = "^org.quickshell$",
46 title = "^aurora settings$",
47 },
48
49 float = true,
50 size = "960 680",
51 center = true,
52})