[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
BindsTo=sway-session.target

[Service]
Type=simple
ExecStart=/usr/bin/swayidle -w
Restart=on-failure
RestartSec=500ms

[Install]
WantedBy=sway-session.target