X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.h;h=adca4e5e2f321ae77b46f8844799231b504574a8;hp=ca05aa24ab8d1b7b4552dec0685a20f59731a090;hb=26e134b8a7dae21a699822009674b3131de6e250;hpb=439e15d09f6fa9271d3b49ef97194f0c80ebe161 diff --git a/config.h b/config.h index ca05aa2..adca4e5 100644 --- a/config.h +++ b/config.h @@ -7,3 +7,12 @@ #define BGCOLOR "#000000" #define FGCOLOR "#ffaa00" #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}, +