[wiki] [sites] [dmenu][script][dmenu_run_i] change external tool to shell built in || explosion-mental
commit bc8c26087984db3ebbdc5619c70fe766463d6b2a
Author: explosion-mental <explosion0mental_AT_gmail.com>
Date: Tue Apr 12 12:27:50 2022 -0500
[dmenu][script][dmenu_run_i] change external tool to shell built in
diff --git a/tools.suckless.org/dmenu/scripts/dmenu_run_i b/tools.suckless.org/dmenu/scripts/dmenu_run_i
index a232e78a..f952d1b7 100755
--- a/tools.suckless.org/dmenu/scripts/dmenu_run_i
+++ b/tools.suckless.org/dmenu/scripts/dmenu_run_i
_AT_@ -7,7 +7,7 @@ test -s $HOME/.dmenurc && . $HOME/.dmenurc
cmd="$(dmenu_path | dmenu $_AT_)"
case $cmd in
- *\! ) ${termcmd} "$(printf "%s" "${cmd}" | cut -d'!' -f1)";;
+ *\! ) ${termcmd} "${cmd%?}" ;;
* ) ${cmd} ;;
esac
exit
Received on Tue Apr 12 2022 - 19:29:37 CEST
This archive was generated by hypermail 2.3.0
: Tue Apr 12 2022 - 19:36:48 CEST