diff options
Diffstat (limited to 'config.h')
| -rwxr-xr-x | config.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -68,9 +68,10 @@ static const char *termcmd[] = { "st", NULL }; static const char *fecmd[] = { "st", "lf", NULL }; static const char *musiccmd[] = { "st", "ncmpcpp", NULL }; static const char *passmenucmd[] = { "passmenu", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *passmenuotpcmd[] = { "/bin/sh", "-c", "~/.local/share/scripts/passmenu-otp", NULL }; static const char *browsercmd[] = { "firefox", NULL }; -static const char *bookmarkscmd[] = { "/bin/sh", "-c", "xdotool type $(grep -v '^#' ~/.local/share/scripts/bookmarks | dmenu -i -l 50 | cut -d' ' -f1)", NULL }; -static const char *taskmenucmd[] = { "sh", "-c", "~/.local/share/scripts/tasks", NULL }; +static const char *bookmarkscmd[] = { "/bin/sh", "-c", "~/.local/share/scripts/dmenu_websearch", NULL }; +static const char *taskmenucmd[] = { "/bin/sh", "-c", "~/.local/share/scripts/tasks", NULL }; static const char *light_up[] = { "/bin/sh", "-c", "xbacklight -inc 5 && kill -RTMIN+2 $(pidof dwmblocks)", NULL }; static const char *light_down[] = { "/bin/sh", "-c", "xbacklight -dec 5 && kill -RTMIN+2 $(pidof dwmblocks)", NULL }; @@ -85,6 +86,7 @@ static const Key keys[] = { { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_e, spawn, {.v = fecmd } }, { MODKEY, XK_p, spawn, {.v = passmenucmd } }, + { MODKEY|ShiftMask, XK_p, spawn, {.v = passmenuotpcmd } }, { MODKEY, XK_f, spawn, {.v = browsercmd } }, { MODKEY, XK_b, spawn, {.v = bookmarkscmd } }, { MODKEY, XK_m, spawn, {.v = musiccmd } }, |
