1
0
forked from brl/citadel
citadel/meta-citadel/recipes-citadel/citadel-config/files/systemd/sway-session-switcher.service
David McKinney 5862b9dbd1 Update to sway 1.5.1/wlroots 0.12.0, fixes, cleanup
- Updated sway to 1.5.1
- Updated sway config with color theme, fixes, etc
- Patched sway default wayland display socket to use wayland-0 as first
socket
- Updated wlroots to 0.12.0
- Updated wdisplays to more recent commit
- Fixed sway-session-switcher to work with newer gnome-session
- Fixed dependency in swaybg
- Added new rust launcher (sgmenu), removed old one (sgflow)
- Added gtk-layer-shell recipe, needed for sgmenu, useful for other
things
- Removed unused sgstatus recipe
2021-03-20 20:27:15 -04:00

17 lines
427 B
Desktop File

[Unit]
Description=Sway Session Switcher
After=accounts-daemon.service
Before=gdm.service
ConditionKernelCommandLine=citadel.sway
[Service]
Type=oneshot
RemainAfterExit=no
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"
[Install]
WantedBy=graphical.target