X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/f29cd56086ae36e7abad561ae32f0f063a1eac31..a8f1ccafb8cc593670ddcda3f17ef83af8950a94:/bin/dpass?ds=sidebyside 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 <&-