From 19c07b81c6f824b64f2d2bc04e8dacf5d838ccb8 Mon Sep 17 00:00:00 2001 From: Srikar G Date: Thu, 10 Sep 2026 23:45:42 -0400 Subject: [PATCH] Inhibit idle for fullscreen Steam games, not just the Steam client apps/steam.lua inhibits idle for class "steam" (Big Picture), but games run as steam_app_ and never matched. Gamepad input goes straight to the game and never through the compositor, so a fullscreen game played on a controller looks idle to Hyprland and the screensaver/lock fire mid-game. Add a fullscreen-scoped idle_inhibit rule for steam_app_.* alongside the existing client rule. Windowed or alt-tabbed games keep normal idle behaviour. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01U1r4YEdkmTPPJUYHB5eqTG --- default/hypr/apps/steam.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default/hypr/apps/steam.lua b/default/hypr/apps/steam.lua index 152aff64c2f..e95ffb70207 100644 --- a/default/hypr/apps/steam.lua +++ b/default/hypr/apps/steam.lua @@ -2,3 +2,8 @@ o.window("steam", { float = true, idle_inhibit = "fullscreen" }) o.window({ class = "steam", title = "Steam" }, { center = true, size = { 1100, 700 } }) o.window("steam.*", { tag = "-default-opacity", opacity = "1 1" }) o.window({ class = "steam", title = "Friends List" }, { size = { 460, 800 } }) + +-- Games run as steam_app_. Gamepad input goes straight to the game and +-- never through the compositor, so a fullscreen game played on a controller +-- looks idle and the screensaver/lock fire mid-game. +o.window("steam_app_.*", { idle_inhibit = "fullscreen" })