summaryrefslogtreecommitdiff
path: root/.local/bin/shufwall
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/shufwall')
-rwxr-xr-x.local/bin/shufwall2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/shufwall b/.local/bin/shufwall
index 33ec7269..4703125f 100755
--- a/.local/bin/shufwall
+++ b/.local/bin/shufwall
@@ -1,7 +1,7 @@
#!/bin/sh
if [ -z "$1" ]; then
- file=$(find -L ~/pictures/wallpapers -type f | shuf -n 1)
+ file=$(find -L "$XDG_PICTURES_DIR/wallpapers" -type f | shuf -n 1)
else
file=$(find -L "$@" -maxdepth 1 -type f | shuf -n 1)
fi