aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Thestrup <mikkel@mithe.dk>2026-01-30 17:03:22 +0100
committerMikkel Thestrup <mikkel@mithe.dk>2026-01-30 17:03:22 +0100
commit5701ead553b9d4f25fe8d0ba1eab9ec99e1ee21d (patch)
tree6f444990d21fbf643fc1adf2ee3ea1759e0013a9
parentc7a90c9c929e4715532c8857406e17bd46ba2f59 (diff)
downloadscripts-5701ead553b9d4f25fe8d0ba1eab9ec99e1ee21d.tar.gz
scripts-5701ead553b9d4f25fe8d0ba1eab9ec99e1ee21d.zip
Changed dmenu to show 5 and not 15 lines
-rwxr-xr-xdocument-picker.sh2
-rwxr-xr-xwallpaper-picker.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/document-picker.sh b/document-picker.sh
index c6509c3..c4689bc 100755
--- a/document-picker.sh
+++ b/document-picker.sh
@@ -5,7 +5,7 @@ DOCS="$HOME/documents"
choice=$(find "$DOCS" -type f 2>/dev/null \
| sed "s|^$DOCS/||" \
- | dmenu -i -l 15 -p "Documents:")
+ | dmenu -i -l 5 -p "Documents:")
[ -z "$choice" ] && exit 0
diff --git a/wallpaper-picker.sh b/wallpaper-picker.sh
index 47645a2..06159e5 100755
--- a/wallpaper-picker.sh
+++ b/wallpaper-picker.sh
@@ -5,7 +5,7 @@ WALLPAPER_DIR="$HOME/pictures/wallpaper"
pick_wallpaper() {
choice=$(find "$WALLPAPER_DIR" -maxdepth 1 -type f -printf '%f\n' 2>/dev/null \
- | dmenu -i -l 15 -p "Wallpaper:")
+ | dmenu -i -l 5 -p "Wallpaper:")
[ -n "$choice" ] || exit 0