0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-05 02:06:57 +00:00
2022-02-03 11:09:40 +01:00

21 lines
511 B
Desktop File

[Unit]
Description=Sway Wayland Compositor
Before=graphical.target kodi.service
After=multi-user.target
ConditionKernelCommandLine=!installer
[Service]
Environment=HOME=/storage
Environment=XDG_RUNTIME_DIR=/var/run/0-runtime-dir
EnvironmentFile=/usr/share/sway/sway-daemon.conf
EnvironmentFile=-/run/sway/sway-daemon.conf
WorkingDirectory=/storage
ExecStartPre=-/usr/lib/sway/sway-config
ExecStart=/usr/bin/sway.sh
Restart=always
RestartSec=5
[Install]
Alias=display-manager.service
WantedBy=graphical.target