summaryrefslogtreecommitdiff
path: root/scripts/gui/swall
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gui/swall')
-rwxr-xr-xscripts/gui/swall3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gui/swall b/scripts/gui/swall
index 9cb9e39..a225481 100755
--- a/scripts/gui/swall
+++ b/scripts/gui/swall
@@ -18,7 +18,6 @@ EOF
exit 0
}
-
check_program "xwallpaper"
SYMLINK="${XDG_CACHE_HOME:-$HOME/.cache}/wallpaper/current"
@@ -59,7 +58,7 @@ if [ -n "${input}" ]; then
fi
if [ -n "${waldir}" ]; then
- image=$(find "${waldir}" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' 2>/dev/null \
+ image=$(find "${waldir}" -iregex '.*.\(jpg\|jpeg\|png\)' 2>/dev/null \
| shuf -n 1 )
fi