summaryrefslogtreecommitdiff
path: root/dmenu_path
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-23 10:16:43 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-23 10:16:43 +0100
commit5f436fdcb733cf9c669a0c94ad95878163f04b9a (patch)
treefb5479ebd1670cbe3a258a438126d111b6f2d13a /dmenu_path
parentde3463988319271f504b5e3deb13f598470acd0d (diff)
added dmenu_path convenience script
Diffstat (limited to 'dmenu_path')
-rwxr-xr-xdmenu_path2
1 files changed, 2 insertions, 0 deletions
diff --git a/dmenu_path b/dmenu_path
new file mode 100755
index 0000000..3070eb7
--- /dev/null
+++ b/dmenu_path
@@ -0,0 +1,2 @@
+#!/bin/sh
+/bin/ls -lL `echo $PATH | tr : ' '` 2> /dev/null | awk '$1 ~ /^[^d].*x/ { print $NF }' | /usr/bin/sort -u