diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-08-16 01:01:35 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-08-16 01:01:35 -0500 |
commit | ce312b7eac2767184004b5fe9ba7814dc129909f (patch) | |
tree | d2f7444ae093b88f2d2cda346be35ad3b4e91eaa | |
parent | Merge pull request #37 from alex-courtis/31-independents-mouse-focus (diff) | |
parent | Define SHCMD macro (diff) | |
download | dwl-ce312b7eac2767184004b5fe9ba7814dc129909f.tar.gz dwl-ce312b7eac2767184004b5fe9ba7814dc129909f.tar.bz2 dwl-ce312b7eac2767184004b5fe9ba7814dc129909f.tar.xz dwl-ce312b7eac2767184004b5fe9ba7814dc129909f.tar.zst dwl-ce312b7eac2767184004b5fe9ba7814dc129909f.zip |
Merge branch 'shcmd' of https://github.com/guidocella/dwl into master
-rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 5f26c3e..eff8f59 100644 --- a/config.def.h +++ b/config.def.h @@ -51,6 +51,8 @@ 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} } +#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } + /* commands */ static const char *termcmd[] = { "alacritty", NULL }; |