to my shame i did not know how to customize the nmtui default colors (for the sake of my own health and mental stability). after reading a bit, i found out it uses the so-called newt backend with the whiptail app.
long story short... turns out it reads some of the env variables for that backend to setup the colors (if you're interested, here's where this happens in the code).
so you can simply set these env variables before calling nmtui. here's a combination i came up with:
i really apologize if the use of that word was perceived as offensive, that was obviously not my intent. i'm usually quite straightforward in picking words (i come from a completely different culture, where sexual assaults are extremely uncommon).
PS. for the context of others reading this comment, the original title of this post was: "nmtui that does not rape your eyes."
This is great, bookmarking for later. My polybar config opens nmtui in a floating kitty terminal when you click the networking icons. It'd be awesome to theme it accordingly.
I'm not sure where this software comes from, but you should try to get a merge to fix this to default. I'd give it a thumbs up after some testing for sure.
Agreed. But for such a simple tool I find it so ugly and unintuitive that I ended up rolling my own 3-line script using nmcli and fzf that does exactly the same thing more logically and in less keystrokes.