feat(sway-desktop): reconfigure xdg portals
This commit is contained in:
parent
03175bb9a7
commit
a77a7f98f2
1 changed files with 18 additions and 8 deletions
|
@ -36,19 +36,29 @@ in {
|
|||
# FIXME: `true` breaks xdg-open from alacritty:
|
||||
# $ xdg-open "https://github.com/"
|
||||
# Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop
|
||||
xdgOpenUsePortal = false;
|
||||
xdgOpenUsePortal = true;
|
||||
|
||||
wlr = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# keep the behaviour in < 1.17, which uses the first portal implementation found in lexicographical order, use the following:
|
||||
config.common.default = "*";
|
||||
config = {
|
||||
common = {
|
||||
default = [
|
||||
"wlr"
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
|
||||
# repoFlake.inputs.nixpkgs-wayland.packages.${pkgs.system}.xdg-desktop-portal-wlr
|
||||
# (pkgs.xdg-desktop-portal-gtk.override (_: {
|
||||
# buildPortalsInGnome = false;
|
||||
# }))
|
||||
|
||||
# pkgs.xdg-desktop-portal-gtk
|
||||
(pkgs.xdg-desktop-portal-gtk.override (_: {
|
||||
buildPortalsInGnome = false;
|
||||
}))
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue