mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 16:12:40 +02:00
fix: niri - screencapture
This commit is contained in:
@@ -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"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user