2019-04-11 09:27:22 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Session Switcher
|
|
|
|
After=accounts-daemon.service
|
|
|
|
Wants=accounts-daemon.service
|
|
|
|
|
2019-04-14 11:57:19 -04:00
|
|
|
ConditionKernelCommandLine=|citadel.sway
|
|
|
|
|
2019-04-11 09:27:22 -04:00
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
2019-04-14 11:57:19 -04:00
|
|
|
|
|
|
|
ExecStartPre=-/usr/bin/plymouth message --text="Setting session to sway"
|
|
|
|
ExecStart=/usr/bin/busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.Accounts.User SetXSession s "sway"
|
2019-04-11 09:27:22 -04:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=graphical.target
|
|
|
|
|