commit 40b52a389d533fc42272471da1aac216443149a0 parent f2739fc2b08d5118eb8a5486f734b179a51aab0f Author: Markus Hanetzok <markus@hanetzok.net> Date: Tue, 18 Nov 2025 23:21:16 +0100 tweak scripts Diffstat:
| M | .local/bin/displayselect | | | 2 | +- |
| M | .local/bin/mounter | | | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.local/bin/displayselect b/.local/bin/displayselect @@ -57,7 +57,7 @@ onescreen() { # If only one output available or chosen. } postrun() { # Stuff to run to clean up. - setbg # Fix background if screen size/arangement has changed. + setwallpaper # Fix background if screen size/arangement has changed. { killall dunst ; setsid -f dunst ;} >/dev/null 2>&1 # Restart dunst to ensure proper location on screen } diff --git a/.local/bin/mounter b/.local/bin/mounter @@ -56,11 +56,11 @@ set -e test -n "$alldrives" # Feed all found drives to dmenu and get user choice. -chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)" +chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i -l 5)" # Function for prompting user for a mountpoint. getmount(){ - mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | dmenu -i -p "Mount this drive where?")" + mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | dmenu -i -l 5 -p "Mount this drive where?")" test -n "$mp" if [ ! -d "$mp" ]; then mkdiryn=$(printf "No\\nYes" | dmenu -i -p "$mp does not exist. Create it?")