diff --git a/config.h b/config.h index da68bbe..8a9213c 100644 --- a/config.h +++ b/config.h @@ -109,13 +109,13 @@ static const Layout layouts[] = { /* commands */ static const char *spqalc[] = { "q", "qalculate-gtk", NULL }; -static const char *spterm[] = { "t", TERMINAL, "-n", "spterm", "tmux", NULL }; -static const char *splf[] = { "l", TERMINAL, "-n", "splf", "-e", "lf-sixel", NULL }; -static const char *sphtop[] = { "h", TERMINAL, "-n", "sphtop", "-e", "htop", NULL }; -static const char *spmix[] = { "m", TERMINAL, "-n", "spmix", "-e", "pulsemixer", NULL }; -static const char *sphelp[] = { "n", TERMINAL, "-n", "sphelp", "-e", "/bin/sh", "-c", "glow /usr/share/dwm/dwm.md | less", NULL }; -static const char *spnmtui[] = { "i", TERMINAL, "-n", "spnmtui", "-e", "nmtui", NULL }; -static const char *spwiki[] = { "v", TERMINAL, "-n", "spwiki", "-e", "zk", "edit", "-i", NULL }; +static const char *spterm[] = { "t", TERMINAL, "-n", "spterm", "-e", "env", "SCRATCHPAD=true", "tmux", NULL }; +static const char *splf[] = { "l", TERMINAL, "-n", "splf", "-e", "env", "SCRATCHPAD=true", "lf-sixel", NULL }; +static const char *sphtop[] = { "h", TERMINAL, "-n", "sphtop", "-e", "env", "SCRATCHPAD=true", "htop", NULL }; +static const char *spmix[] = { "m", TERMINAL, "-n", "spmix", "-e", "env", "SCRATCHPAD=true", "pulsemixer", NULL }; +static const char *sphelp[] = { "n", TERMINAL, "-n", "sphelp", "-e", "env", "SCRATCHPAD=true", "/bin/sh", "-c", "glow /usr/share/dwm/dwm.md | less", NULL }; +static const char *spnmtui[] = { "i", TERMINAL, "-n", "spnmtui", "-e", "env", "SCRATCHPAD=true", "nmtui", NULL }; +static const char *spwiki[] = { "v", TERMINAL, "-n", "spwiki", "-e", "env", "SCRATCHPAD=true", "zk", "edit", "-i", NULL }; #include