sway: remove xdg config override, got merged into nixpkgs

This commit is contained in:
teutat3s 2024-11-05 15:32:31 +01:00
parent c95e0680e6
commit 31ffd89799
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -35,21 +35,6 @@ in
xdg.portal = {
enable = true;
config.sway = {
# https://alex.dandrea.io/2024/07/20/fixing-idle-inhibitor-behaviour-in-firefox-with-wayland/
# https://github.com/emersion/xdg-desktop-portal-wlr/pull/315
# https://github.com/flatpak/xdg-desktop-portal-gtk/issues/465
#
# Use xdg-desktop-portal-gtk for every portal interface...
default = "gtk";
# ... except for the ScreenCast, Screenshot and Secret
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
"org.freedesktop.impl.portal.Screenshot" = "wlr";
# ignore inhibit bc gtk portal always returns as success,
# despite sway/the wlr portal not having an implementation,
# stopping firefox from using wayland idle-inhibit
"org.freedesktop.impl.portal.Inhibit" = "none";
};
wlr = {
enable = true;
settings = {