From ed4e20fe1fc8c72b94c8c38077e308388527786b Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Mon, 5 Jun 2023 09:54:56 +0200 Subject: [PATCH] pass env to nmtui for proper colors --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index 4239c72..922d52a 100644 --- a/config.h +++ b/config.h @@ -186,7 +186,7 @@ static const Key keys[] = { { MODKEY, XK_h, setmfact, {.f = -0.05} }, // { MODKEY | ShiftMask, XK_h, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_t, spawn, {.v = (const char *[]){BROWSER, NULL}} }, - { MODKEY | ShiftMask, XK_t, spawn, {.v = (const char *[]){TERMINAL, "-e", "sudo", "nmtui", NULL}} }, + { MODKEY | ShiftMask, XK_t, spawn, {.v = (const char *[]){TERMINAL, "-e", "sudo", "-E", "nmtui", NULL}} }, { MODKEY, XK_n, setlayout, {.v = &layouts[0]} }, { MODKEY | ShiftMask, XK_n, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_s, setlayout, {.v = &layouts[2]} },