author | Anselm R Garbe <garbeam@gmail.com> |
Wed, 11 Jun 2008 13:20:17 +0100 | |
changeset 1264 | d6312117314c |
parent 1263 | 87cd6583546e |
child 1265 | f3b595da1c6b |
--- a/dwm.c Wed Jun 11 10:26:57 2008 +0100 +++ b/dwm.c Wed Jun 11 13:20:17 2008 +0100 @@ -51,6 +51,7 @@ #define LENGTH(x) (sizeof x / sizeof x[0]) #define MAXTAGLEN 16 #define MOUSEMASK (BUTTONMASK|PointerMotionMask) +#define SHCMD(cmd) { .v = (char*[]){ "/bin/sh", "-c", cmd, NULL } } #define TAGMASK ((int)((1LL << LENGTH(tags)) - 1)) #define TEXTW(x) (textnw(x, strlen(x)) + dc.font.height)