diff options
| author | Tom Barrett <tom@tombarrett.xyz> | 2023-04-23 21:27:31 +0200 | 
|---|---|---|
| committer | Tom Barrett <tom@tombarrett.xyz> | 2023-04-23 21:27:31 +0200 | 
| commit | 577ba06877f68ba269f35778d1a1349437eb0b7a (patch) | |
| tree | 16fd908f83dbb5aa32536cedc928f66513635555 | |
| parent | 25f9b730dee4919019bef5b32deb2f4098edd520 (diff) | |
passmenu bindings
| -rwxr-xr-x | build | 2 | ||||
| -rw-r--r-- | config/dwm.h | 2 | 
2 files changed, 4 insertions, 0 deletions
@@ -78,4 +78,6 @@ ln -s "$RC_DIR/.gnupg/gpg-agent.conf" "$HOME/.gnupg/"  ln -s "$RC_DIR/.gnupg/pinentry-dmenu.conf" "$HOME/.gnupg/"  ln -s "$RC_DIR/scripts/pinentry-auto" "$HOME/bin" +ln -s "$RC_DIR/scripts/passotpmenu" "$HOME/bin" +  echo "use gpg --list-secret-keys --with-keygrip, write the [A] keygrip to .gnupg/sshcontrol" 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 } },  | 
