#!/bin/sh
+. ~/bin/.check-busybox
p="$1"
-if [ -z "$p" -a "$(readlink -f $(which ps))" =~ "/busybox" ]; then
+if [ -z "$p" ] && ! check-busybox ps; 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 <&-
+unset check-busybox