aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMarcel Screm <marcel@marcelscrem.com>2026-01-05 15:35:06 +0100
committerMarcel Screm <marcel@marcelscrem.com>2026-01-05 15:35:06 +0100
commitbb6593783f652d8f9a4bd5c620b68a2f7b8da6c4 (patch)
treef47f1b51c8cef1cffe679816cac398b4dd0d85cd /config.h
parent815dc9729f57701b1fe882a401cee3c9e7167d88 (diff)
added scripts
Diffstat (limited to 'config.h')
-rwxr-xr-xconfig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.h b/config.h
index 0249835..df93e75 100755
--- a/config.h
+++ b/config.h
@@ -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 } },