From a26e6ae5253d95e7238dab20e298129a468e04f6 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 30 Aug 2025 09:40:41 -0500 Subject: Improve dmenu support You can now (again) pass multiple flags to dmenu through -d flags, as well as for some scripts all args are passed to dmenu. --- dmenu_books | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dmenu_books') diff --git a/dmenu_books b/dmenu_books index a579476..645ece8 100755 --- a/dmenu_books +++ b/dmenu_books @@ -5,7 +5,7 @@ printhelp () { } while getopts "hd:" o; do case "${o}" in - d) ARG="$OPTARG" ;; + d) ARG=${ARG:+"$ARG "}"$OPTARG" ;; *) printhelp ;; esac done -- cgit v1.2.3