From 9069ea17165b02cde0873c4690c8827b83d7cf0d Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 16 Jul 2020 14:49:42 +0200 Subject: [PATCH] sway: add xdg-desktop-portal-wlr --- sway.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sway.nix b/sway.nix index 93f6855..74258f5 100644 --- a/sway.nix +++ b/sway.nix @@ -70,7 +70,7 @@ export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) - export XDG_CURRENT_DESKTOP=X-Generic + export XDG_CURRENT_DESKTOP=sway ''; }; @@ -83,4 +83,6 @@ services.dbus.packages = with pkgs; [ mako ]; + xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ]; + }