summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-05-21 13:23:50 +0200
committerTom Barrett <tom@tombarrett.xyz>2020-05-21 13:23:50 +0200
commit08dd7aa1258db4d422a26544f281f4b1b62a8a82 (patch)
tree66689be837a7c00c3492fc99c15cc25d0db6e93a /dwm
parent704076e70a8ec9e4e5463368fa20731a1a7a91b0 (diff)
added passmenu command
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} },