about summary refs log tree commit diff
path: root/fprun
diff options
context:
space:
mode:
Diffstat (limited to 'fprun')
-rwxr-xr-xfprun5
1 files changed, 3 insertions, 2 deletions
diff --git a/fprun b/fprun
index 6893fd3..9873405 100755
--- a/fprun
+++ b/fprun
@@ -7,5 +7,6 @@
 #
 # [1] https://tools.suckless.org/dmenu/
 
-PROG="`fp /bin 10`"
-nohup "$PROG" > /dev/null 2>&1 &
+paths=`printf '%s' "$PATH" | tr ':' ' '` 
+prog="`fp 10 $paths`"
+nohup "$prog" > /dev/null 2>&1 &