Files
hypr/modules/windowrules.lua
T
2026-05-11 23:23:13 +02:00

35 lines
674 B
Lua

hl.window_rule({
name = "xwayland",
opacity = "0.0 override",
no_anim = true,
no_initial_focus = true,
max_size = { 1, 1 },
no_blur = true,
no_focus = true,
match = { class = "^(xwaylandvideobridge)$" },
})
hl.window_rule({
name = "fullscreen_idling",
idle_inhibit = "fullscreen",
match = { class = ".*" },
})
hl.window_rule({
name = "video_idling",
idle_inhibit = "always",
match = { content = "video" },
})
hl.window_rule({
name = "game_idling",
idle_inhibit = "always",
match = { content = "game" },
})
hl.window_rule({
name = "match_fullscreen",
idle_inhibit = "always",
match = { fullscreen_state_internal = 2, fullscreen_state_client = 2 },
})