Change to fuzzel in select-sound-output.sh

This commit is contained in:
Alexander Rosenberg 2023-09-12 02:31:07 -07:00
parent 7159094083
commit 23feddfb60
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -13,7 +13,7 @@ for ((i = 1; i <= "${#ids}"; ++i)); do
query_string+="${ids[${i}]}: ${descs[${i}]} (${names[${i}]})\n"
done
local choice
choice="$(echo "${query_string%"\n"}" | dmenu -p "${default_id}")"
choice="$(echo "${query_string%"\n"}" | fuzzel -dp "${default_id}> ")"
if (( "${?}" != 0 )); then
exit
fi