From 26732c68d35cd3ac8c5af86b74a594ab2dd1a65a Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Mon, 12 Apr 2021 18:58:48 +0200 Subject: using new connmenu --- dwm/config.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dwm') diff --git a/dwm/config.h b/dwm/config.h index 4b0fcbe..f715cd8 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -58,8 +58,9 @@ static const Layout layouts[] = { 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, "-sf", col_gray4, NULL }; static const char *passmenucmd[] = { "passmenu", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col, "-sf", col_gray4, NULL }; -static const char *volumeup[] = { "amixer", "sset", "Master", "5%+", NULL}; -static const char *volumedown[] = { "amixer", "sset", "Master", "5%-", NULL}; +static const char *connmenucmd[] = { "connmenu", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col, "-sf", col_gray4, NULL }; +static const char *volumeupcmd[] = { "amixer", "sset", "Master", "5%+", NULL }; +static const char *volumedowncmd[] = { "amixer", "sset", "Master", "5%-", NULL }; static const char *termcmd[] = { "st", NULL }; static Key keys[] = { @@ -67,9 +68,10 @@ static Key keys[] = { { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_c, spawn, {.v = passmenucmd } }, + { MODKEY, XK_w, spawn, {.v = connmenucmd } }, - { MODKEY, XK_equal, spawn, {.v = volumeup } }, - { MODKEY, XK_minus, spawn, {.v = volumedown } }, + { MODKEY, XK_equal, spawn, {.v = volumeupcmd } }, + { MODKEY, XK_minus, spawn, {.v = volumedowncmd } }, { MODKEY, XK_q, killclient, {0} }, { MODKEY|ShiftMask, XK_e, quit, {0} }, -- cgit v1.2.3