Fix background cycling for glob characters
Co-authored-by: DataDave-Dev <153755137+DataDave-Dev@users.noreply.github.com>
This commit is contained in:
co-authored by
DataDave-Dev
parent
87940c3cf4
commit
5b69af693f
@@ -29,7 +29,7 @@ else
|
|||||||
# Find current background index
|
# Find current background index
|
||||||
INDEX=-1
|
INDEX=-1
|
||||||
for i in "${!BACKGROUNDS[@]}"; do
|
for i in "${!BACKGROUNDS[@]}"; do
|
||||||
if [[ ${BACKGROUNDS[$i]} == $CURRENT_BACKGROUND ]]; then
|
if [[ ${BACKGROUNDS[$i]} == "$CURRENT_BACKGROUND" ]]; then
|
||||||
INDEX=$i
|
INDEX=$i
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user