Commit some very old stuff for some reason
This commit is contained in:
@@ -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" &
|
||||
|
||||
Reference in New Issue
Block a user