fix: niri - screencapture

This commit is contained in:
Ryan Yin
2025-11-01 11:41:29 +08:00
parent 23de363622
commit 40b782d94b
2 changed files with 3 additions and 9 deletions

View File

@@ -7,12 +7,8 @@
common = {
# Use xdg-desktop-portal-gtk for every portal interface...
default = [
"gtk"
"hyprland"
];
# except for the secret portal, which is handled by gnome-keyring
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
"gtk"
];
};
};

View File

@@ -31,10 +31,7 @@
# Use xdg-desktop-portal-gtk for every portal interface...
default = [
"gtk"
];
# except for the secret portal, which is handled by gnome-keyring
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
"gnome"
];
};
};
@@ -50,6 +47,7 @@
# ls /run/current-system/sw/share/xdg-desktop-portal/portals/
extraPortals = with pkgs; [
xdg-desktop-portal-gtk # for provides file picker / OpenURI
xdg-desktop-portal-gnome # for screensharing
];
};
}