From d217a7b611954f0f8ee5179044728e4e132bb78f Mon Sep 17 00:00:00 2001 From: ds6 Date: Wed, 18 Mar 2020 21:46:31 -0500 Subject: [PATCH] fix dpass --- bin/dpass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dpass b/bin/dpass index e8f446a..3dc4c8f 100755 --- a/bin/dpass +++ b/bin/dpass @@ -1,6 +1,6 @@ #!/bin/sh p="$1" -if [ -z "$p" -a "$(readlink -f $(which ps))" =~ "/busybox" ]; then +if [ -z "$p" -a "$(basename "$(readlink -f "$(which ps)")")" =~ "/busybox" ]; then p="[$(ps -o comm= -p $(ps -o ppid= -p $$))]"; fi ~/bin/dmenu -p "$p" -fn Dina-10 -nb \#110800 -nf \#110800 -sb \#264bd2 -sf \#fdf6e3 <&- -- 2.47.0