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. --- brc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'brc') diff --git a/brc b/brc index c4230bf..b2f7daa 100755 --- a/brc +++ b/brc @@ -11,7 +11,7 @@ printhelp () { #{{{ getopts while getopts "hd:u:" o; do case "${o}" in - d) ARG="$OPTARG" ;; + d) ARG=${ARG:+"$ARG "}"$OPTARG" ;; u) URL="$OPTARG" ;; *) printhelp ;; esac done -- cgit v1.2.3