* Fixing mpv commands to work with newer versions

This commit is contained in:
shockrah 2022-01-23 17:50:26 -08:00
parent 1ede679730
commit 6c6282313b
2 changed files with 2 additions and 2 deletions

2
newbga
View File

@ -28,7 +28,7 @@ mpv="mpv -wid WID --no-config --keepaspect=no --loop \
# The magic here happens with xwinwrap the flags given to mpv don't really matter # The magic here happens with xwinwrap the flags given to mpv don't really matter
# unless you have an mpv config the flags below are pretty much the only flags you # unless you have an mpv config the flags below are pretty much the only flags you
# need to get this working # need to get this working
xwinwrap -g 1920x1080+1920 -ov -b -un -sh rectangle -fdt -ni -- \ xwinwrap -g 1920x1080+0 -ov -b -un -sh rectangle -fdt -ni -- \
$mpv $base/"$pape" & $mpv $base/"$pape" &
# welcome to the rice fields # welcome to the rice fields

View File

@ -28,7 +28,7 @@ _unused_mpv="mpv --wid=0 --no-config --keepaspect=no --loop \
# The magic here happens with xwinwrap the flags given to mpv don't really matter # The magic here happens with xwinwrap the flags given to mpv don't really matter
# unless you have an mpv config the flags below are pretty much the only flags you # unless you have an mpv config the flags below are pretty much the only flags you
# need to get this working # need to get this working
xwinwrap -g 1920x1080+1920 -ov -b -un -sh rectangle -fdt -ni -- \ xwinwrap -g 1920x1080 -ov -b -un -sh rectangle -fdt -ni -- \
mpv -wid WID --no-border --vo=x11 --input-ipc-server=/tmp/mpv-bg-socket $base/"$pape" & mpv -wid WID --no-border --vo=x11 --input-ipc-server=/tmp/mpv-bg-socket $base/"$pape" &
# welcome to the rice fields # welcome to the rice fields