From 6f21a1d52ce4fbdc0cafd76c91b74b0e1b644c2d Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Tue, 12 Nov 2024 23:02:38 -0800 Subject: Composited electricsheep background services --- .config/systemd/user/sheep.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .config/systemd/user/sheep.service (limited to '.config/systemd/user/sheep.service') diff --git a/.config/systemd/user/sheep.service b/.config/systemd/user/sheep.service new file mode 100644 index 0000000..2b7ffb1 --- /dev/null +++ b/.config/systemd/user/sheep.service @@ -0,0 +1,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' + + -- cgit v1.2.3