diff --git a/config.h b/config.h index 8ff8bd7..43ec854 100644 --- a/config.h +++ b/config.h @@ -1,4 +1,13 @@ /* See LICENSE file for copyright and license details. */ +#define TERMINAL "st" +#define TERMINAL_FLAG_NAME "-n" +#define TERMINAL_FLAG_EXEC "-e" + +#define BROWSER "brave-browser" +#define BROWSER_FLAG_INCOG "" +#define BROWSER_FLAG_1 "--enable-blink-features=MiddleClickAutoscroll" + +#define PLAYERCTL(client, command) {.v = (const char *[]){"playerctl", "-p", client, command, NULL}} /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ @@ -141,8 +150,6 @@ static char *colors[][ColCount] = { [SchemeScratchNorm] = { scratchnormfgcolor, scratchnormbgcolor, scratchnormbordercolor, scratchnormfloatcolor }, }; - - #define AUTOSHELL(command) "sh", "-c", command, NULL static const char *const autostart[] = { AUTOSHELL("exec runsvdir $SVDIR"), @@ -154,7 +161,13 @@ static const char *const autostart[] = { NULL /* terminate */ }; -static const char *scratchpadcmd[] = {"s", "st", "-n", "spterm", 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 }; /* Tags * In a traditional dwm the number of tags in use can be changed simply by changing the number