about summary refs log tree commit diff stats
path: root/config.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 13:21:57 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 13:21:57 +0200
commit26e134b8a7dae21a699822009674b3131de6e250 (patch)
treece783ecc7317440d3947eff29c42075620e98858 /config.h
parent005362043d8b0bbf856f301c231d4f10c519b8c4 (diff)
downloaddwm-26e134b8a7dae21a699822009674b3131de6e250.tar.gz
added gridsel to gridwm
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 2f73716..adca4e5 100644
--- 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},
 
54' href='#n154'>154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192