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. --- mprisctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mprisctl') diff --git a/mprisctl b/mprisctl index 0d71b94..49533ee 100755 --- a/mprisctl +++ b/mprisctl @@ -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