From 256a27ca8e8e8851ae6786704f1ae9af6bb7ca75 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 31 Aug 2025 11:19:01 +0200 Subject: [PATCH] Apply idle inhibitor just to fullscreen on stream and retroarch for gaming #1303 --- default/hypr/apps/retroarch.conf | 1 + default/hypr/apps/steam.conf | 1 + default/hypr/windows.conf | 3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/default/hypr/apps/retroarch.conf b/default/hypr/apps/retroarch.conf index 2c019de..94be39f 100644 --- a/default/hypr/apps/retroarch.conf +++ b/default/hypr/apps/retroarch.conf @@ -1,3 +1,4 @@ windowrule = fullscreen, class:com.libretro.RetroArch windowrule = opacity 1 1, class:com.libretro.RetroArch +windowrule = idleinhibit fullscreen, class:com.libretro.RetroArch diff --git a/default/hypr/apps/steam.conf b/default/hypr/apps/steam.conf index de91aaa..bd6386c 100644 --- a/default/hypr/apps/steam.conf +++ b/default/hypr/apps/steam.conf @@ -4,3 +4,4 @@ windowrule = center, class:steam, title:Steam windowrule = opacity 1 1, class:steam windowrule = size 1100 700, class:steam, title:Steam windowrule = size 460 800, class:steam, title:Friends List +windowrule = idleinhibit fullscreen, class:steam diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf index d66b7bb..bc665b2 100644 --- a/default/hypr/windows.conf +++ b/default/hypr/windows.conf @@ -7,8 +7,5 @@ windowrule = opacity 0.97 0.9, class:.* # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 -# Prevent screensaver/lock while running apps fullscreen -windowrule = idleinhibit fullscreen, class:.* - # App-specific tweaks source = ~/.local/share/omarchy/default/hypr/apps.conf