diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 5be3e44..dd0737f 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -227,6 +227,12 @@ in hl.animation({ leaf = "workspaces", enabled = true, speed = 1, bezier = "snap" }) -- Window rules + -- Don't lock/idle while any window is fullscreen (video, games). + hl.window_rule({ + match = { class = ".*" }, + idle_inhibit = "fullscreen", + }) + -- Battle.net tray icon leaks as a tiny floating XWayland window. hl.window_rule({ match = { class = "steam_app_0", title = "^$", float = true },