From 82311d493fcc7b5ec028393174966d6eb22ea6da Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 28 Feb 2024 02:02:58 +0100 Subject: [PATCH] export SCRATCHPAD to spfile --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index b5fd0a5..b641a62 100644 --- a/config.h +++ b/config.h @@ -143,7 +143,7 @@ static const char *const autostart[] = { }; static const char *spterm[] = { "t", TERM, "-n", "spterm", TERM_FLAG_EXEC, "tmux", NULL }; -static const char *spfile[] = { "f", TERM, "-n", "spfile", TERM_FLAG_EXEC, "lfX", NULL }; +static const char *spfile[] = { "f", TERM, "-n", "spfile", TERM_FLAG_EXEC, "env", "SCRATCHPAD=true", "lfX", NULL }; static const char *spproc[] = { "p", TERM, "-n", "spproc", TERM_FLAG_EXEC, "btm", NULL }; static const char *spvolm[] = { "v", TERM, "-n", "spvolm", TERM_FLAG_EXEC, "ncpamixer", NULL }; static const char *sphelp[] = { "h", TERM, "-n", "sphelp", TERM_FLAG_EXEC, "/bin/sh", "-c", "glow -p -s $XDG_CONFIG_HOME/glow/style.json /usr/share/dwm/dwm.md", NULL };