diff --git a/hosts/modules/gui/sway/sway-config.nix b/hosts/modules/gui/sway/sway-config.nix index 40b3b263..47f958f8 100644 --- a/hosts/modules/gui/sway/sway-config.nix +++ b/hosts/modules/gui/sway/sway-config.nix @@ -170,4 +170,13 @@ in '' pos 1920,0 res 1920x1080 } + + # XXX: needed for xdg-desktop-portal-* to work. + # this is how we expose these env vars to user dbus services: + # - DISPLAY + # - WAYLAND_DISPLAY + # - SWAYSOCK + # - XDG_CURRENT_DESKTOP + # for more, see: + include /etc/sway/config.d/* ''