summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2023-04-13 14:20:45 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2023-04-13 14:20:45 -0500
commit307d65bca01878d0917a3e463614f63cd093e572 (patch)
treed4a1aa87221ae66e9515f12d7e41366e5084670e
parentc9f478eeacb1f0b51e03fe13a40f418c7ef2d448 (diff)
moving all terms over to st
-rw-r--r--config.def.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 1a94080..1334a72 100644
--- a/config.def.h
+++ b/config.def.h
@@ -40,22 +40,25 @@ typedef struct {
/*
Alacritty does not take the -g flag, so geometry has to be set differently. Example below:
- const char *spcmd1[] = {"alacritty", "--class", "spaudio", "-o", "font.size=16", "-o", "font.normal.family=Fira Code Retina", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "pulsemixer", NULL }; */
+ const char *spcmd1[] = {"alacritty", "--class", "spaudio", "-o", "font.size=16", "-o", "font.normal.family=Fira Code Retina", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "pulsemixer", NULL };
const char *spcmd1[] = {"alacritty", "--class", "spaudio", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "pulsemixer", NULL };
const char *spcmd2[] = {"alacritty", "--class", "spnet", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "nmtui", NULL };
const char *spcmd3[] = {"alacritty", "--class", "spmp", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "ncmpcpp", NULL };
const char *spcmd4[] = {"alacritty", "--class", "spbt", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "tremc", NULL };
const char *spcmd5[] = {"alacritty", "--class", "spterm", "-o", "window.dimensions.columns=120", "-o", "window.dimensions.lines=35", "-e", "tmux", NULL };
-const char *spcmd6[] = {"alacritty", "--class", "spcalc", "-o", "window.dimensions.columns=60", "-o", "window.dimensions.lines=35", "-e", "bc", "-l", NULL };
+const char *spcmd6[] = {"alacritty", "--class", "spcalc", "-o", "window.dimensions.columns=60", "-o", "window.dimensions.lines=35", "-e", "bc", "-l", NULL }
+*/
/*
St and other terminals which take a -g flag should take this format:
+*/
const char *spcmd1[] = {"st", "-n", "spaudio", "-g", "120x35", "-e", "pulsemixer", NULL };
const char *spcmd2[] = {"st", "-n", "spnet", "-g", "80x40", "-e", "nmtui", NULL };
const char *spcmd3[] = {"st", "-n", "spmp", "-g", "120x35", "-e", "ncmpcpp", NULL };
const char *spcmd4[] = {"st", "-n", "spbt", "-g", "120x35", "-e", "tremc", NULL };
const char *spcmd5[] = {"st", "-n", "spterm", "-g", "120x35", "-e", "tmux", NULL };
-*/
+const char *spcmd6[] = {"st", "-n", "spcalc", "-g", "120x35", "-e", "bc", NULL };
+
/*...and this is how to add a gui app to a scratchpad
const char *spcmd5[] = {"keepassxc", NULL };
@@ -140,7 +143,7 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
-static const char *termcmd[] = { "xterm", NULL };
+static const char *termcmd[] = { "st", NULL };
static Key keys[] = {
/* modifier key function argument */