From 3dd2239cc5b67f4d7f3a536b8895af402cf22cb9 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 14 Jun 2023 18:11:49 +0200 Subject: [PATCH] switch to st as terminal --- config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.h b/config.h index 784b0b2..4c1dc47 100644 --- a/config.h +++ b/config.h @@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ #define BROWSER "firefox" -#define TERMINAL "kitty" /* WARN: The scratchpad commands on lines 105 - 111 set kitty config options */ +#define TERMINAL "st" #define PLAYERCTL "firefox" /* this is currently only passed to playerctl as the client to control */ /* appearance */ static const unsigned int borderpx = 2; @@ -64,7 +64,7 @@ static const Rule rules[] = { { NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, 0, 0, 0, 0, -1 }, { "Xournalpp", "xournalpp", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, { "Zathura", "org.pwmt.zathura", NULL, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1 }, - { NULL, "kitty", NULL, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1 }, + { NULL, "st", NULL, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1 }, { "Qalculate-gtk", NULL, NULL, 'q', 0, 1, 0, 0, .5, .5, 722, 512, -1 }, { NULL, "sphelp", NULL, 'n', 0, 1, 0, 0, .5, .5, .4, .8, -1 }, { NULL, "spterm", NULL, 't', 0, 1, 1, 0, .5, .5, .8, .8, -1 }, @@ -104,11 +104,11 @@ static const Layout layouts[] = { /* commands */ static const char *spqalc[] = { "q", "qalculate-gtk", NULL }; -static const char *spterm[] = { "t", TERMINAL,"-o", "background_opacity=0.9", "--name", "spterm", "-d", "~", NULL }; -static const char *splf[] = { "l", TERMINAL,"-o", "background_opacity=0.9", "--name", "splf", "-d", "~", "-e", "lfub", NULL }; -static const char *sphtop[] = { "h", TERMINAL,"-o", "background_opacity=0.9", "--name", "sphtop", "-e", "htop", NULL }; -static const char *spmix[] = { "m", TERMINAL,"-o", "background_opacity=0.9", "--name", "spmix", "-e", "pulsemixer", NULL }; -static const char *sphelp[] = { "n", TERMINAL,"-o", "background_opacity=0.9", "--name", "sphelp", "-e", "/bin/sh", "-c", "lowdown -Tterm /usr/local/share/dwm/dwm.md | less", NULL }; +static const char *spterm[] = { "t", TERMINAL, "-n", "spterm", "-d", "~", NULL }; +static const char *splf[] = { "l", TERMINAL, "-n", "splf", "-d", "~", "-e", "lfub", 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", "lowdown -Tterm /usr/local/share/dwm/dwm.md | less", NULL }; #include @@ -176,7 +176,7 @@ static const Key keys[] = { { MODKEY, XK_o, togglescratch, {.v = sphtop} }, { MODKEY | ShiftMask, XK_o, spawn, {.v = (const char *[]){TERMINAL, "-e", "htop", NULL}} }, { MODKEY, XK_e, togglescratch, {.v = splf} }, - { MODKEY | ShiftMask, XK_e, spawn, SHCMD(TERMINAL "-e $SHELL -c \"lf; $SHELL\"") }, + // { MODKEY | ShiftMask, XK_e, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_u, spawn, {.v = (const char *[]){"dmenu_run", NULL}} }, // { MODKEY | ShiftMask, XK_u, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_i, spawn, {.v = (const char *[]){"dunstctl", "close", NULL}} },