dmenu

[fork] X11 menuing
Log | Files | Refs | README | LICENSE

commit f2ef8fa16fa732cc3fe645ace1f8a64d0763060c
parent c02241794d213a2d991329b8433774df73a4a54d
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 23 Apr 2021 15:02:46 +0100

dmenu_run: use original version

Diffstat:
Mdmenu_run | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dmenu_run b/dmenu_run @@ -1,3 +1,3 @@ -#!/bin/bash -dir=$(echo $PATH | tr ":" " " | sed 's/\.$//g') -find $dir -maxdepth 1 -executable -not -type d -printf "%f\n" | sort | dmenu "$@" | ${SHELL:-"/bin/bash"} +#!/bin/sh + +dmenu_path | dmenu "$@" | exec ${SHELL:-"/bin/sh"}