From 307d65bca01878d0917a3e463614f63cd093e572 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 13 Apr 2023 14:20:45 -0500 Subject: moving all terms over to st --- config.def.h | 11 +++++++---- 1 file 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 */ -- cgit v1.2.3