diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2020-05-21 13:23:50 +0200 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2020-05-21 13:23:50 +0200 |
commit | 08dd7aa1258db4d422a26544f281f4b1b62a8a82 (patch) | |
tree | 66689be837a7c00c3492fc99c15cc25d0db6e93a /dwm | |
parent | 704076e70a8ec9e4e5463368fa20731a1a7a91b0 (diff) |
added passmenu command
Diffstat (limited to 'dwm')
-rw-r--r-- | dwm/config.h | 3 |
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} }, |