From e2b727a2cfb2ff7f825f340adea7f403fc35c5a7 Mon Sep 17 00:00:00 2001 From: Olivia Mackintosh Date: Sat, 27 Aug 2022 20:27:16 +0200 Subject: config: add passmenu keybinding --- config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.h b/config.h index f5fbc87..8768621 100644 --- a/config.h +++ b/config.h @@ -60,6 +60,7 @@ 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 *termcmd[] = { "st", NULL }; static const char *browsercmd[] = { "chromium", NULL }; +static const char *passmenucmd[] = { "passmenu", NULL }; static const char *volume_toggle[] = { "amixer", "set", "Master", "toggle", NULL }; static const char *volume_down[] = { "amixer", "set", "Master", "5%-", NULL }; @@ -104,6 +105,7 @@ static Key keys[] = { TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } }, + { MODKEY|ShiftMask, XK_p, spawn, {.v = passmenucmd } }, // Media keys { 0, XF86XK_AudioMute, spawn, {.v = volume_toggle} }, -- cgit v1.2.3