summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rw-r--r--dwm/config.h10
1 files changed, 6 insertions, 4 deletions
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} },