]> git.sev.monster Git - dotfiles.git/blobdiff - bin/dpass
clean .zprofile vars, update zsh opts, fix dpass
[dotfiles.git] / bin / dpass
index a7dddb897719d8044df18df320bb302ef61e0e62..e8f446a5d3caccb2b979386ec1890b185234548d 100755 (executable)
--- a/bin/dpass
+++ b/bin/dpass
@@ -1,6 +1,6 @@
 #!/bin/sh
 p="$1"
 #!/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 <&-
        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 <&-
This page took 0.034452 seconds and 4 git commands to generate.