aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index ce3bb02..7399872 100644
--- a/config.h
+++ b/config.h
@@ -48,6 +48,9 @@ static const AppRule rules[] = { \
{ "MPlayer", 3, True },
};
+/* helper for spawning shell commands */
+#define SHCMD(cmd) {.com = (const char*[]){"/bin/bash", "-c", cmd, NULL}}
+
/** commands **/
static const char *termcmd[] = { "urxvt", NULL };
static const char *dmenucmd[] = { "dmn", NULL };