summaryrefslogtreecommitdiff
path: root/.config/systemd/user/sheep.service
blob: 2b7ffb1e601af9ad2354615dc6be9075dfda21ed (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=Electric Sheep
ConditionEnvironment=DISPLAY
Requires=picom.service

[Service]
ExecCondition=sh -c "! echo $WAYLAND_DISPLAY | grep -q ."
ExecStart=bash -c 'exec src/xwinwrap/xwinwrap -b -s -fs -st -sp -nf -ov -fdt -ovr -- mpv -wid WID --no-osc -loop --stop-screensaver=no -ao null --really-quiet -start=$(( $RANDOM % 100 ))% --input-ipc-server=$XDG_RUNTIME_DIR/mpv-desktop.sock --load-scripts=no /mnt/sheep/4ksheep_264_2pass_crf24_speed1_bv45M.mp4'