parsifal/parsifal-player.service

13 lines
286 B
SYSTEMD
Raw Permalink 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]
2024-09-19 14:39:29 +02:00
WantedBy=default.target