commit ddfec71

hovercats  ·  2023-12-03 14:08:27 +0000 UTC
parent 87b0ef9
bmks: use dmenu to add description, so that it plays better with surfs patch
1 files changed,  +1, -2
+1, -2
 1@@ -12,8 +12,7 @@ usage() {
 2 
 3 add() { 
 4 	[ -z "${url}" ] && printf "Error: url must be provided\n" && exit 1
 5-	printf "Description: "
 6-	read -r description
 7+	description="$(printf '' | dmenu -p "Description: " -c)"
 8 	if [ -z "${description}" ]; then
 9 		printf "%s\n" "${url}" >> "${bookmarks}"
10 	else