diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 63f4523..b90a9ef 100644 --- a/config.def.h +++ b/config.def.h @@ -49,6 +49,9 @@ static const AppRule rules[] = { \ { "Chromium", 0, False }, /* last desktop, 0 is always the fist */ }; +/* helper for spawning shell commands */ +#define SHCMD(cmd) {.com = (const char*[]){"/bin/bash", "-c", cmd, NULL}} + /** commands **/ static const char *termcmd[] = { "xterm", NULL }; static const char *dmenucmd[] = { "dmenu", NULL }; |
