From 6c6282313bf69d18657a79a3412fb42a98238d94 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 23 Jan 2022 17:50:26 -0800 Subject: [PATCH] * Fixing mpv commands to work with newer versions --- newbga | 2 +- newbga-audio | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/newbga b/newbga index 87d116f..6c42e42 100755 --- a/newbga +++ b/newbga @@ -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 # unless you have an mpv config the flags below are pretty much the only flags you # 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" & # welcome to the rice fields diff --git a/newbga-audio b/newbga-audio index e0f943d..97980cf 100755 --- a/newbga-audio +++ b/newbga-audio @@ -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 # unless you have an mpv config the flags below are pretty much the only flags you # 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" & # welcome to the rice fields