os/modules/sway/config/config.d/systemd.conf

7 lines
472 B
Plaintext
Raw Normal View History

2021-05-30 19:10:28 +00:00
# Note that the systemctl commands must be run synchronously and can't be split into
2021-07-20 20:08:51 +00:00
# three exec statements, since otherwise the session target may be started before
2021-05-30 19:10:28 +00:00
# systemctl import-environment is complete, and services that require certain variables
# will fail to run.
# https://github.com/swaywm/sway/wiki/Systemd-integration
exec "systemctl --user import-environment; systemctl --user start sway-session.target; dbus-update-activation-environment WAYLAND_DISPLAY"