Commit some very old stuff for some reason

This commit is contained in:
2022-10-14 19:49:04 +02:00
parent e9519cd5b4
commit 3c60117501
5 changed files with 28 additions and 5 deletions

View File

@@ -6,10 +6,15 @@ PIDFILE="/var/run/user/$UID/bg.pid"
declare -a PIDs
_screen() {
# TODO Replace with -wid=WID somehow
xwinwrap -ov -ni -g "$1" -- mpv --fullscreen\
# g specify geometry heightxwidth+xcoord+ycoord
# ni Ignore Input
# ov For Desktop background
# fs fullscreen
# vo=gpu gpu accelerated video output
# hwdec=vdpau use vdpau for gpu acceleration
xwinwrap -ov -ni -g "$1" -- mpv -fs\
--no-stop-screensaver\
--vo=gpu --hwdec=yuv420p\
--vo=gpu --hwdec=vaapi\
--loop-file --no-audio --no-osc --no-osd-bar\
-wid WID --no-input-default-bindings\
"$2" &