saving work

This commit is contained in:
Luca Bilke 2024-01-31 12:10:24 +01:00
parent 1098239b63
commit 648ee2fae9
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 16 additions and 3 deletions

View File

@ -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