X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.h;h=adca4e5e2f321ae77b46f8844799231b504574a8;hp=58ed8eaf1e802734f3828c2d69295f56f3d2e734;hb=26e134b8a7dae21a699822009674b3131de6e250;hpb=3a69c5173cdd24959410870bec2a10a76272e034 diff --git a/config.h b/config.h index 58ed8ea..adca4e5 100644 --- a/config.h +++ b/config.h @@ -9,3 +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}, +