dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit ffe00e6139e3bb367aaaa2f3f76760e314ca443d
parent 541ecea796d2ac99e08a7e1185585cf0d1531799
Author: Guido Cella <guidocella91@gmail.com>
Date:   Tue,  4 Aug 2020 06:03:44 +0200

Define SHCMD macro

Diffstat:
Mconfig.def.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -49,6 +49,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 };