From f5b52b3a15f33096bc0e5e7b6f0ce3255d6c190f Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 6 Jan 2024 20:17:00 +0100 Subject: [PATCH] use more unique shm paths --- pixelfloot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixelfloot.sh b/pixelfloot.sh index bf23914..b754640 100755 --- a/pixelfloot.sh +++ b/pixelfloot.sh @@ -37,7 +37,7 @@ YDIR=0 test -z "$BOUNCESTEP" && BOUNCESTEP=2 ## end bounce -OFFSET_SHM="/dev/shm/pxlflt-offset" +OFFSET_SHM="/dev/shm/pxlflt-offset-${FNAME}" ## ANIMATION # convert -coalesce animation.gif target.png -> produces target1.png, target2.png, .. @@ -57,7 +57,7 @@ OFFSET_SHM="/dev/shm/pxlflt-offset" # to not draw too fast, there is a sleep in frametick which waits for # FRAMETICKTIME seconds. Values are float, down to lowest value 0.001 # Only one of ANIMATION or LARGE can be true, not both. -FRAMETOPICK_SHM="/dev/shm/pxlflt-frametopick" +FRAMETOPICK_SHM="/dev/shm/pxlflt-frametopick-${FNAME}" ## END ANIMATION @@ -372,7 +372,7 @@ flootworker() then #~ xymode #~ echo "$OFFSET" - echo "${LOL[$(<${FRAMETOPICK_SHM})]}" + echo "${LOL[$(< ${FRAMETOPICK_SHM})]}" #~ i=0 #~ while [ $i -le $1 ] #~ do