#!/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 <&-