parsifal/parsifal-player.service

13 lines
288 B
SYSTEMD
Raw Normal View History

2024-09-19 14:33:04 +02:00
[Unit]
Description=Parsifal Player
After=lightdm.service
[Service]
ExecStartPre=/bin/sh -c 'for i in {1..10}; do xset q && break || sleep 2; done'
ExecStart=/usr/bin/mpv --fs --no-osc --loop-file=inf %h/main.mov
Restart=always
Environment=DISPLAY=:0
[Install]
WantedBy=graphical.target