hyprland: render games unfocused

This commit is contained in:
rope 2026-07-28 21:47:33 +01:00
parent 2a6aa8b247
commit 0fbb8ad0f3

View file

@ -273,6 +273,14 @@ in
workspace = "special silent", workspace = "special silent",
}) })
-- Games stall on other workspaces: no frame callbacks = no render =
-- game loop blocks. Keep them ticking in the background at
-- misc:render_unfocused_fps (15).
hl.window_rule({
match = { class = "^steam_app_.*" },
render_unfocused = true,
})
-- WoW keeps requesting fullscreen/maximize; ignore so it stays tiled. -- WoW keeps requesting fullscreen/maximize; ignore so it stays tiled.
hl.window_rule({ hl.window_rule({
match = { class = "steam_app_default", title = "^World of Warcraft$" }, match = { class = "steam_app_default", title = "^World of Warcraft$" },