merged usm path fix with upstream

This commit is contained in:
shockrah
2019-09-07 16:20:17 -07:00
9 changed files with 216 additions and 19 deletions

5
newbga
View File

@@ -10,6 +10,7 @@ base="/home/shockrah/Pictures/VPapes"
# Pic two random video papes
pape1=`ls "${HOME}/Pictures/VPapes" | shuf | head -n 1`
pape2=`ls "${HOME}/Pictures/VPapes" | shuf | head -n 1`
echo
while "$pape1" = "$pape2"
do
pape2=`ls "${HOME}/Pictures/VPapes" | shuf | head -n 1`
@@ -29,6 +30,7 @@ mpv="mpv --wid WID --no-config --keepaspect=no --loop \
# First monitor
xwinwrap -g 1920x1080 -ni -fdt -sh rectangle -un -b -nf -ov -- $mpv "$base/$pape1" & > /dev/null 2>&1 &
echo $! > ${HOME}/.cache/mpvbg.pid
echo "$pape1" > $HOME/.cache/newbga_img
# Quick check if we even have a second monitor at all
c=`xrandr | grep ' connected' | wc -l`
@@ -39,5 +41,4 @@ fi
# Second monitor
xwinwrap -g 1920x1080+1920+0 -ni -fdt -sh rectangle -un -b -nf -ov -- $mpv "$base/$pape2" & > /dev/null 2>&1 &
echo $! >> ${HOME}/.cache/mpvbg.pid
echo "$pape1" >> $HOME/.cache/newbga_img