dwl

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

commit 2d71c9b9ff19d76ed3e78f67ed84d4ae03edd99d
parent 87b16e6095379ce0e0a44c73926d5cbaf9a269d9
Author: Devin J. Pohly <djpohly@gmail.com>
Date:   Mon,  1 Mar 2021 11:21:15 -0600

Add default menu command

dwm config parity

Diffstat:
Mconfig.def.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -62,11 +62,13 @@ static const int natural_scrolling = 0; #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *termcmd[] = { "alacritty", NULL }; +static const char *termcmd[] = { "alacritty", NULL }; +static const char *menucmd[] = { "bemenu-run", NULL }; static const Key keys[] = { /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* modifier key function argument */ + { MODKEY, XKB_p, spawn, {.v = menucmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} },