Signed-off-by: elwrcl <[email protected]>
This commit is contained in:
elwrcl committed 2026-04-19 19:23:04 +03:00
1 parent 830ca94bbd
commit 608a467d84
1 file changed
+4 -10
+4 -10
View File
@@ -5,24 +5,18 @@
xdg.portal = {
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-wlr
];
config.niri = lib.mkForce {
default = [
"wlr"
"hyprland"
"gtk"
];
"org.freedesktop.impl.portal.ScreenCast" = [ "wlr" ];
"org.freedesktop.impl.portal.Screenshot" = [ "wlr" ];
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
};
};
environment.etc."xdg-desktop-portal/portals/wlr.portal".text = ''
[portal]
DBusName=org.freedesktop.impl.portal.desktop.wlr
Interfaces=org.freedesktop.impl.portal.Screenshot;org.freedesktop.impl.portal.ScreenCast;
UseIn=wlroots;sway;Wayfire;river;phosh;Hyprland;niri;
'';
}