From bb6593783f652d8f9a4bd5c620b68a2f7b8da6c4 Mon Sep 17 00:00:00 2001 From: Marcel Screm Date: Mon, 5 Jan 2026 15:35:06 +0100 Subject: added scripts --- config.h | 6 ++++-- dwm | Bin 68424 -> 68496 bytes dwm.o | Bin 60704 -> 60904 bytes 3 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 } }, diff --git a/dwm b/dwm index 0e3f01f..7286222 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 1fb81c5..05c8a3c 100644 Binary files a/dwm.o and b/dwm.o differ -- cgit v1.2.3