add SCRATCHPAD env var to scratchpads
ci/woodpecker/tag/woodpecker Pipeline was successful Details

This commit is contained in:
Luca Bilke 2024-02-01 13:34:32 +01:00
parent b09b9f2fd2
commit 76c8a92744
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
1 changed files with 7 additions and 7 deletions

View File

@ -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 <X11/XF86keysym.h>