# Session plumbing so portals (screen sharing, file dialogs, dark mode) and D-Bus activated apps work on any distro. # Fedora's sway-systemd already does the same; running it twice is harmless. exec_always dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE exec systemctl --user import-environment WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE exec systemctl --user start sway-session.target