dwm

dynamic window manager
git clone https://git.parazyd.org/dwm
Log | Files | Refs | README | LICENSE

commit c991d778f03b992ced97e091f933b2869a12aa4a
parent bc34facd9f430c2e0c862672a952ec80f5e1d6f4
Author: parazyd <parazyd@dyne.org>
Date:   Sat,  8 Oct 2022 11:02:16 +0200

Add thinglaunch

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

diff --git a/config.h b/config.h @@ -69,6 +69,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *thingcmd[] = { "thinglaunch", NULL }; static const char *termcmd[] = { "st", NULL }; static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; @@ -92,7 +93,8 @@ static const char *rickcmd[] = { "mpv", "--no-video", "never_gonna_give_you_up.m #include "movestack.c" static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY|ShiftMask, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY, XK_p, spawn, {.v = thingcmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_F1, spawn, {.v = uskeycmd } }, { MODKEY, XK_F2, spawn, {.v = rskeycmd } },