X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/7d19d0fd5608ffd538eaf15a398fd2cb231da13f..186423fe66144fbe2335fd9ca716fdea6cb55712:/bin/dpass?ds=inline diff --git a/bin/dpass b/bin/dpass index a7dddb8..e8f446a 100755 --- a/bin/dpass +++ b/bin/dpass @@ -1,6 +1,6 @@ #!/bin/sh p="$1" -if [ -z "$p" ]; then +if [ -z "$p" -a "$(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 <&-