aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBonicgamer <44382222+Bonicgamer@users.noreply.github.com>2020-08-26 14:24:21 -0400
committerGitHub <noreply@github.com>2020-08-26 14:24:21 -0400
commit45a2e25d6d84819ca8e81cc0c19aa72a38b342cb (patch)
treec0ff2b25a09429d92c7d10447a899e9182487f05 /config.def.h
parenta683ec501e0c67d3d078d30d12876cdf19186f5a (diff)
parent44ef698d6ef48a41b0df7c4c47d8b880efdbdf33 (diff)
Merge pull request #2 from djpohly/master
Merge
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 5f26c3e..53021cf 100644
--- a/config.def.h
+++ b/config.def.h
@@ -51,6 +51,9 @@ static const int repeat_delay = 600;
{ MODKEY|WLR_MODIFIER_SHIFT, SKEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT,SKEY,toggletag, {.ui = 1 << TAG} }
+/* helper for spawning shell commands in the pre dwm-5.0 fashion */
+#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+
/* commands */
static const char *termcmd[] = { "alacritty", NULL };