commit ced6cd158c606cdf32fcee9672ff0df6eb466f1a
parent ca40faf996c0feca1234c410de262dc73863aee2
Author: Markus Hanetzok <markus@hanetzok.net>
Date: Sun, 6 Apr 2025 16:50:35 +0200
update pass commands
replaced passmenu with dmenu-pass script, created separate commands for
auto-type and clipboard functions
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -99,7 +99,8 @@ static const char *mute[] = { "pamixer", "-t", NULL };
static const char *incvol[] = { "pamixer", "-i", "5", NULL };
static const char *decvol[] = { "pamixer", "-d", "5", NULL };
static const char *sysact[] = { "sysact", NULL };
-static const char *passmenu[] = { "passmenu", NULL };
+static const char *passcopy[] = { "dmenu-pass", "--no-username", NULL };
+static const char *passtype[] = { "dmenu-pass", "--type", NULL };
static const char *mpctoggle[] = { "mpc", "toggle", NULL };
static const char *mpcnext[] = { "mpc", "next", NULL };
static const char *mpcprev[] = { "mpc", "prev", NULL };
@@ -119,7 +120,8 @@ static const Key keys[] = {
// scripts & programsmarkus
{ MODKEY, XK_BackSpace, spawn, {.v = sysact } },
- { MODKEY|ShiftMask, XK_BackSpace, spawn, {.v = passmenu } },
+ { MODKEY|ShiftMask, XK_BackSpace, spawn, {.v = passtype } },
+ { MODKEY|ControlMask|ShiftMask, XK_BackSpace, spawn, {.v = passcopy } },
// mpc && pulseaudio