fix(stasis): flip ignore_remote_media so browser video inhibits idle

Browsers only raise org.freedesktop.ScreenSaver.Inhibit during fullscreen
playback; a windowed YouTube tab sent no inhibit, so stasis ran the full
idle plan to suspend despite active video. Letting browser MPRIS count
as a media player closes the gap without the wake-lock hacks.

See DECISIONS.md (2026-04-24).
This commit is contained in:
2026-04-24 14:40:30 +02:00
parent d5c1b8a155
commit 39094ee026
2 changed files with 10 additions and 2 deletions
+4 -2
View File
@@ -5,9 +5,11 @@
@description "Idle management for Moonarch (Niri + moonlock)"
default:
# Media playback inhibits idle (non-browser only, browser uses D-Bus inhibit)
# Media playback inhibits idle. Browsers expose MPRIS during video playback
# and only send D-Bus idle-inhibit in fullscreen, so we include remote media
# to catch windowed browser videos.
monitor_media true
ignore_remote_media true
ignore_remote_media false
# App/process inhibit patterns (apps that don't use D-Bus idle-inhibit)
inhibit_apps [