summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rw-r--r--dwm/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h
index 111aa3f..ae2980e 100644
--- a/dwm/config.h
+++ b/dwm/config.h
@@ -57,6 +57,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, "-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 *termcmd[] = { "st", NULL };
static const char *exitcmd[] = { "killall", "xinit", NULL };
@@ -64,6 +65,8 @@ static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
+ { MODKEY, XK_c, spawn, {.v = passmenucmd } },
+
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_r, quit, {0} },
{ MODKEY|ShiftMask, XK_e, spawn, {.v = exitcmd} },