From cff45d70805cb98900535bccff9adca0f4a87967 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sat, 13 Apr 2024 20:26:57 +0200 Subject: [PATCH] cd for zk scratchpad --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index e75946c..467d5ca 100644 --- a/config.h +++ b/config.h @@ -149,7 +149,7 @@ static const char *spdisk[] = { "d", TERM, "-c", "spdisk", TERM_FLAG_EXEC, "gdu" static const char *spvolm[] = { "v", TERM, "-c", "spvolm", TERM_FLAG_EXEC, "ncpamixer", NULL }; static const char *sphelp[] = { "h", TERM, "-c", "sphelp", TERM_FLAG_EXEC, "/bin/sh", "-c", "glow -p -s $XDG_CONFIG_HOME/glow/style.json /usr/share/dwm/dwm.md", NULL }; static const char *spinet[] = { "i", TERM, "-c", "spinet", TERM_FLAG_EXEC, "nmtui", NULL }; -static const char *spwiki[] = { "w", TERM, "-c", "spwiki", TERM_FLAG_EXEC, "zk", "edit", "-i", NULL }; +static const char *spwiki[] = { "w", TERM, "-c", "spwiki", TERM_FLAG_EXEC, "/bin/sh", "-c", "cd $ZK_NOTEBOOK_DIR; zk edit -i", NULL }; static const char *spcalc[] = { "c", TERM, "-c", "spcalc", TERM_FLAG_EXEC, "bc", "-li", NULL }; static char *tagicons[][NUMTAGS] =