diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/swall | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/swall b/scripts/swall index b023534..9c2a338 100755 --- a/scripts/swall +++ b/scripts/swall @@ -70,7 +70,7 @@ if [ -n "${input}" ]; then fi if [ -n "${waldir}" ]; then - image=$(find "${waldir}" -iregex '.*\.jpeg\|.*\.jpng\|.*\.png' 2>/dev/null \ + image=$(find "${waldir}" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' 2>/dev/null \ | shuf -n 1 ) fi |