diff options
author | zachir <zachir@librem.one> | 2025-08-30 09:40:41 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2025-08-30 09:40:41 -0500 |
commit | a26e6ae5253d95e7238dab20e298129a468e04f6 (patch) | |
tree | 859d057fa005024b4241a546b86713fafe9963b0 /dmenu_books | |
parent | b3954287e7d50d744da3221677c89e108cff36c4 (diff) |
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.
Diffstat (limited to 'dmenu_books')
-rwxr-xr-x | dmenu_books | 2 |
1 files changed, 1 insertions, 1 deletions
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 |