aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d/50_systemd-user.conf
blob: 36652e79ff02f5540e722ba6c8c14e7840bdf4aa (plain) (blame)
1
2
3
4
5
6
# XDG_CURRENT_DESKTOP=sway is needed for screen sharing via xdg-desktop-portal
# to work. Taken from:
# https://github.com/emersion/xdg-desktop-portal-wlr/issues/193#issuecomment-1177369572

exec hash dbus-update-activation-environment 2>/dev/null && \
   dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway