X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.h;h=adca4e5e2f321ae77b46f8844799231b504574a8;hp=d37034d2ef92f51782ef6685c2a4eeb0d370d3db;hb=26e134b8a7dae21a699822009674b3131de6e250;hpb=366d81e313e6dd4e9e6c61ed8dfca4b4b40ccde6 diff --git a/config.h b/config.h index d37034d..adca4e5 100644 --- a/config.h +++ b/config.h @@ -9,5 +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_Return, run, "xterm -u8 -bg black -fg white -fn '-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*'" }, \ + { Mod1Mask, XK_p, run, PLCMD }, \ + { Mod1Mask | ShiftMask, XK_q, quit, NULL}, +