summaryrefslogtreecommitdiff
path: root/.config/sway/xdpw
blob: 72449c793e104cd5f391a2f816c7aad106694d17 (plain)
1
2
3
4
5
6
7
# 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