From 16e15f0540a6fd34acd6e3a76f462e3df80320d3 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Fri, 6 Nov 2020 13:09:33 +0100 Subject: [PATCH] Fix relative path searching --- config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.h b/config.h index be1fefe..2325af0 100644 --- a/config.h +++ b/config.h @@ -68,7 +68,6 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *lock[] = { "slock", NULL}; static const char *sfeed[] = { "sfeed-dmenu", NULL }; -static const char *bookmarks[]= { "bookmarks-dmenu ~/Bookmarks", NULL }; static const char *passman[] = { "passman-dmenu", NULL }; static const char *ttvlist[] = { "twitch-list", NULL }; static const char *browser[] = { "xdg-open", "https://search.snopyta.org", NULL }; @@ -93,7 +92,7 @@ static const Key keys[] = { /* dmenu scripts */ { MODKEY, XK_r, spawn, {.v = sfeed } }, - { MODKEY, XK_x, spawn, {.v = bookmarks } }, + { MODKEY, XK_x, spawn, SHCMD("bookmarks-dmenu ~/Bookmarks") }, { MODKEY, XK_y, spawn, {.v = passman } }, { MODKEY, XK_t, spawn, {.v = ttvlist } },