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 9185f39..7b46a87 100644 --- a/config.def.h +++ b/config.def.h @@ -37,6 +37,9 @@ static const AppRule rules[] = { \ { "Gimp", 0, False, True }, }; +/* helper for spawning shell commands */ +#define SHCMD(cmd) {.com = (const char*[]){"/bin/sh", "-c", cmd, NULL}} + /** * custom commands * must always end with ', NULL };' |
