feat(portal): keep windowed browser video from sleeping the screen
Update PKGBUILD version / update-pkgver (push) Successful in 3s
Update PKGBUILD version / update-pkgver (push) Successful in 3s
Add /etc/xdg-desktop-portal/niri-portals.conf with Inhibit=none. The gtk portal reports Inhibit success even though nothing implements it under Niri, so Firefox/Waterfox skips the native Wayland idle-inhibit. With no backend the browser falls back to zwp_idle_inhibit, which Niri honors.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[preferred]
|
||||
default=gnome;gtk;
|
||||
org.freedesktop.impl.portal.Access=gtk;
|
||||
org.freedesktop.impl.portal.Notification=gtk;
|
||||
org.freedesktop.impl.portal.Secret=gnome-keyring;
|
||||
# xdg-desktop-portal-gtk reports the Inhibit interface as success even though
|
||||
# nothing implements it under Niri, which makes Firefox/Waterfox skip the
|
||||
# native Wayland idle-inhibit. With no backend the browser falls back to
|
||||
# zwp_idle_inhibit, which Niri honors, so windowed video keeps the screen awake.
|
||||
org.freedesktop.impl.portal.Inhibit=none;
|
||||
Reference in New Issue
Block a user