JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added gridsel to gridwm
[dwm.git] / config.h
index 2f73716..adca4e5 100644 (file)
--- a/config.h
+++ b/config.h
@@ -9,7 +9,10 @@
 #define BORDERCOLOR    "#000000"
 #define STATUSCMD      "echo -n `date` `uptime | sed 's/.*://; s/,//g'`" \
                                        " `acpi | awk '{print $4}' | sed 's/,//'`"
+#define PLCMD          "`ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null | awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`"
+
 #define KEYS           \
        { Mod1Mask, XK_Return, run, "xterm -u8 -bg black -fg white -fn '-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*'" }, \
+       { Mod1Mask, XK_p, run, PLCMD }, \
        { Mod1Mask | ShiftMask, XK_q, quit, NULL},