mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
1 parent
830ca94bbd
commit
608a467d84
1 file changed
+4
-10
@@ -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;
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user