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
+1 -5
View File
@@ -7,12 +7,8 @@
common = { common = {
# Use xdg-desktop-portal-gtk for every portal interface... # Use xdg-desktop-portal-gtk for every portal interface...
default = [ default = [
"gtk"
"hyprland" "hyprland"
]; "gtk"
# except for the secret portal, which is handled by gnome-keyring
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
]; ];
}; };
}; };
+2 -4
View File
@@ -31,10 +31,7 @@
# Use xdg-desktop-portal-gtk for every portal interface... # Use xdg-desktop-portal-gtk for every portal interface...
default = [ default = [
"gtk" "gtk"
]; "gnome"
# except for the secret portal, which is handled by gnome-keyring
"org.freedesktop.impl.portal.Secret" = [
"gnome-keyring"
]; ];
}; };
}; };
@@ -50,6 +47,7 @@
# ls /run/current-system/sw/share/xdg-desktop-portal/portals/ # ls /run/current-system/sw/share/xdg-desktop-portal/portals/
extraPortals = with pkgs; [ extraPortals = with pkgs; [
xdg-desktop-portal-gtk # for provides file picker / OpenURI xdg-desktop-portal-gtk # for provides file picker / OpenURI
xdg-desktop-portal-gnome # for screensharing
]; ];
}; };
} }