# sway does not set XDG_CURRENT_DESKTOP in the systemd user environment # therfore xdg-desktop-portal makes the wrong choice for desktop witht this fix dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway systemctl --user stop pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr systemctl --user start wireplumber