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