summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2021-04-12 18:58:48 +0200
committerTom Barrett <tom@tombarrett.xyz>2021-04-12 18:58:48 +0200
commit26732c68d35cd3ac8c5af86b74a594ab2dd1a65a (patch)
tree0659d30320e1d5097a396013cec982c541cb950c /dwm
parent58e6123251a5564c7bb3ee5b3926271c1d6df3fd (diff)
using new connmenu
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} },