summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-04-23 21:27:31 +0200
committerTom Barrett <tom@tombarrett.xyz>2023-04-23 21:27:31 +0200
commit577ba06877f68ba269f35778d1a1349437eb0b7a (patch)
tree16fd908f83dbb5aa32536cedc928f66513635555 /config
parent25f9b730dee4919019bef5b32deb2f4098edd520 (diff)
passmenu bindings
Diffstat (limited to 'config')
-rw-r--r--config/dwm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/dwm.h b/config/dwm.h
index 0847dd8..6b314b6 100644
--- a/config/dwm.h
+++ b/config/dwm.h
@@ -59,6 +59,7 @@ 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 *passotpmenucmd[] = { "passotpmenu", "-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 };
@@ -68,6 +69,7 @@ static Key keys[] = {
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_c, spawn, {.v = passmenucmd } },
+ { MODKEY, XK_x, spawn, {.v = passotpmenucmd } },
{ MODKEY, XK_equal, spawn, {.v = volumeupcmd } },
{ MODKEY, XK_minus, spawn, {.v = volumedowncmd } },