[Unit]
Description=Alacritty Daemon
Before=graphical-session.target
After=graphical-session-pre.target
PartOf=graphical-session.target
StartLimitIntervalSec=30
StartLimitBurst=3

[Service]
ExecStart=alacritty --daemon --socket %t/alacritty.sock
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=graphical-session-pre.target
