services: Move flashfocus to systemd service

Removed manual initialization of flashfocus from xinitrc, enabled the
service in systemd.

Changed the restart timer to 5 seconds, to mirror other X-dependent user
services to circumvent systemd being too eager to start the service
before X is ready on booting.
This commit is contained in:
Marty Oehme 2020-09-18 13:16:09 +02:00
parent 441cd2ba36
commit b83929bcbd
Signed by: Marty
GPG key ID: B7538B8F50A1C800
3 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
[Service]
RestartSec=5

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/flashfocus.service