2019-04-11 09:27:22 -04:00
|
|
|
[Unit]
|
2020-07-08 10:42:25 -04:00
|
|
|
Description=Sway Session Switcher
|
2019-04-11 09:27:22 -04:00
|
|
|
After=accounts-daemon.service
|
2021-02-12 09:17:32 -05:00
|
|
|
Before=gdm.service
|
|
|
|
ConditionKernelCommandLine=citadel.sway
|
2019-04-14 11:57:19 -04:00
|
|
|
|
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
|
|
|
|
|