From f9f73db10fa619af7801bb67eccef7674b27cbc0 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Fri, 12 Jun 2026 11:10:00 +0200 Subject: [PATCH] docs(stasis): correct monitor_media comment to match real behavior monitor_media detects media via pactl sink-inputs and excludes browser audio by design; it does not catch windowed browser video. ignore_remote_media only affects remote players (Spotify-remote, Chromecast). --- defaults/xdg/stasis/stasis.rune | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/defaults/xdg/stasis/stasis.rune b/defaults/xdg/stasis/stasis.rune index 7dc35ac..a01d44a 100644 --- a/defaults/xdg/stasis/stasis.rune +++ b/defaults/xdg/stasis/stasis.rune @@ -5,9 +5,13 @@ @description "Idle management for Moonarch (Niri + moonlock)" default: - # 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: detect active media via PipeWire/PulseAudio sink-inputs + # (pactl), not MPRIS. Non-browser players (mpv, vlc, ...) are counted and + # inhibit idle. Browser audio is excluded by design; browser idle-inhibit is + # expected via D-Bus (enable_dbus_inhibit), which Waterfox/Firefox only send + # in fullscreen -- so windowed browser video is NOT caught by stasis. + # ignore_remote_media false: also count remote players (Spotify-remote, + # KDEConnect, Chromecast); has no effect on windowed browser video. monitor_media true ignore_remote_media false