aboutsummaryrefslogtreecommitdiff
path: root/hypr/configs/windows.lua
blob: e08e176ce81707a2088013485de50d218132b2f5 (plain)
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
hl.window_rule({
  match          = { class = ".*" },
  suppress_event = "maximize",
})

hl.window_rule({
  match        = { class = ".*" },
  idle_inhibit = "fullscreen",
})

hl.window_rule({
  match        = { content = 3 },
  immediate    = true,
  idle_inhibit = "fullscreen",
  fullscreen   = true,
  content      = "game"
})

hl.window_rule({
  match  = { class = "^(eden)$" },
  no_vrr = true
})

hl.window_rule({
  match       = { class = "^(steam_app_default)$" },
  border_size = 0,
  rounding    = 0,
  no_anim     = true,
  no_blur     = true,
  no_dim      = true,
  no_shadow   = true
})

hl.layer_rule({
  match        = { namespace = "notifications" },
  blur         = true,
  ignore_alpha = 0.5
})

hl.layer_rule({
  match        = { namespace = "rofi" },
  blur         = true,
  ignore_alpha = 0.5
})