X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1390d0285583db13842b2fc8d96c3b8b4af02dfd..62504b1f48cf4c4d10c85533b71b7301a852cd87:/bin/dpass?ds=sidebyside diff --git a/bin/dpass b/bin/dpass index a7dddb8..3dc4c8f 100755 --- a/bin/dpass +++ b/bin/dpass @@ -1,6 +1,6 @@ #!/bin/sh p="$1" -if [ -z "$p" ]; 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 <&-