aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xwallpaper-picker.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/wallpaper-picker.sh b/wallpaper-picker.sh
index 06159e5..4a0dbf2 100755
--- a/wallpaper-picker.sh
+++ b/wallpaper-picker.sh
@@ -4,7 +4,11 @@
WALLPAPER_DIR="$HOME/pictures/wallpaper"
pick_wallpaper() {
- choice=$(find "$WALLPAPER_DIR" -maxdepth 1 -type f -printf '%f\n' 2>/dev/null \
+ choice=$(find "$WALLPAPER_DIR" \
+ -maxdepth 1 \
+ -type f \
+ -printf '%f\n' \
+ 2>/dev/null \
| dmenu -i -l 5 -p "Wallpaper:")
[ -n "$choice" ] || exit 0