use more unique shm paths

This commit is contained in:
Marcus 2024-01-06 20:17:00 +01:00
parent 2d91e43988
commit f5b52b3a15
1 changed files with 3 additions and 3 deletions

View File

@ -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