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:

NEWT_COLORS='root=black,black;window=black,black;border=white,black;listbox=white,black;label=blue,black;checkbox=red,black;title=green,black;button=white,red;actsellistbox=white,red;actlistbox=white,gray;compactbutton=white,gray;actcheckbox=white,blue;entry=lightgray,black;textbox=blue,black' nmtui

enjoy and keep your eyes healthy!

58 points

for comparison, here’s the default

permalink
report
reply
27 points
*

Another option is to change your terminal color profile. Here’s what the default looks like on Kitty’s Misterioso theme:

imo more tolerable than the default colors, and it applies to other terminal apps too.

To preview themes: kitty +kitten themes

permalink
report
parent
reply
38 points

Please don’t use “rape” as a casual negative verb, there are better, more accurate words to use that don’t needlessly reference SA.

permalink
report
reply
79 points
*

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.”

permalink
report
parent
reply
42 points

Thank you, OP.

permalink
report
parent
reply
23 points

Thanks!

permalink
report
parent
reply
19 points

(i come from a completely different culture, where sexual assaults are extremely uncommon)

What culture is that? I wasn’t aware such a thing existed.

permalink
report
parent
reply
2 points

Probably a Scandinavian country if I had to guess.

permalink
report
parent
reply
17 points

(i come from a completely different culture, where sexual assaults are extremely uncommon).

It is more likely that you are just not aware of it.

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
1 point
*
Removed by mod
permalink
report
parent
reply
7 points

Because it normalizes a word and desensitizes it, making it less likely for victims to stand up. It can also bring up horrifying memories in SA survivors.

There exist negative words that do not share the same mass systemic connotations. It’s generally better to use words that don’t bring with them the same issues.

permalink
report
parent
reply
-1 points
*
Removed by mod
permalink
report
parent
reply
5 points

Guys, guys… You’re over-ideologizing a very simple humane request. I was asked nicely and respectfully – I tried to respond in the same way. Simple as that. I’m usually not regulating my personal communications with others in terms of laws and amendments.

permalink
report
parent
reply
1 point
*
Removed by mod
permalink
report
parent
reply
10 points

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.

permalink
report
reply
5 points

same here (except it’s waybar in my case) ( :

permalink
report
parent
reply
6 points

Thanks. I’ll use it my config. you’re an eye saver.

permalink
report
reply
6 points

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.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.1K

    Monthly active users

  • 6.8K

    Posts

  • 184K

    Comments