From ffeaf344c429ab195160be967a5fb62346f3eed9 Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 25 Aug 2025 15:44:14 +0530 Subject: move to fuzzel from rofi rofi is bad when it comes to fuzzy matching and also you cannot execute command as it is, for example you cannot pass arguements to commands like "setwall -m". Fuzzel is way simpler, natively supports wayland and is a drop in replacement for dmenu. --- .local/bin/unmounter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/unmounter') diff --git a/.local/bin/unmounter b/.local/bin/unmounter index 184b3ae..796fd76 100755 --- a/.local/bin/unmounter +++ b/.local/bin/unmounter @@ -1,12 +1,12 @@ #!/bin/sh -# A rofi -dmenu prompt to unmount drives. +# A dmenu prompt to unmount drives. # Provides you with mounted partitions, select one to unmount. # Drives mounted at /, /boot and /home will not be options to unmount. unmountusb() { [ -z "$drives" ] && exit - chosen="$(echo "$drives" | rofi -dmenu -i -p "Unmount which drive?")" || exit 1 + chosen="$(echo "$drives" | fuzzel -d -i -p "Unmount which drive?")" || exit 1 chosen="$(echo "$chosen" | awk '{print $1}')" [ -z "$chosen" ] && exit sudo -A umount "$chosen" && notify-send "💻 USB unmounting" "$chosen unmounted." -- cgit v1.2.3