aboutsummaryrefslogtreecommitdiff
path: root/wallpaper-picker.sh
diff options
context:
space:
mode:
authorMikkel Thestrup <mikkel@mithe.dk>2026-01-30 17:03:54 +0100
committerMikkel Thestrup <mikkel@mithe.dk>2026-01-30 17:03:54 +0100
commit3e4b2f7a2ad48beb7241569dad323423a7ffe7cb (patch)
tree344dbdbb94dcfad4131aa7797549508cfb60c60a /wallpaper-picker.sh
parent5701ead553b9d4f25fe8d0ba1eab9ec99e1ee21d (diff)
downloadscripts-3e4b2f7a2ad48beb7241569dad323423a7ffe7cb.tar.gz
scripts-3e4b2f7a2ad48beb7241569dad323423a7ffe7cb.zip
style(wallpaper-picker): keep lines unde 80 chars
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