mirror of
https://github.com/fscotto/infra.git
synced 2026-05-31 07:49:57 +00:00
sway: inhibit screensaver during video playback in mpv and browser
Start xdg-desktop-portal-wlr and xdg-desktop-portal-gtk explicitly so Firefox can route ScreenSaver.Inhibit DBus calls through the portal chain to the Wayland idle inhibitor. Add stop-screensaver=yes to mpv.conf for native Wayland idle inhibition during mpv playback. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,3 +14,6 @@ sub-font-size=48
|
||||
|
||||
# Output
|
||||
terminal=yes
|
||||
|
||||
# Inhebit screensaver while playing video
|
||||
stop-screensaver=yes
|
||||
|
||||
Reference in New Issue
Block a user