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!

  • Dario
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    What’s “SA”, by the way? Are we also supposed to ban “sexual abuse” in an appropriate context? Of course I am not an enemy of victims of sexual abuse, though I am quiet clearly an outspoken enemy of such “woke” or “leftist” ideologies.

    • Cowbee [he/him]@lemmy.ml
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      2 months ago

      What’s “SA”, by the way? Are we also supposed to ban “sexual abuse” in an appropriate context?

      You clearly know, so why ask?

      Of course I am not an enemy of victims of sexual abuse, though I am quiet clearly an outspoken enemy of such “woke” or “leftist” ideologies.

      You didn’t need to outright state that you’re a bad person, that was self-evident by batting for normalization of rape.

      • Dario
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        Only a madman would strive to “normalize” sexual abuse, whatever that means. You are assuming that I am a bad person, but I think I am an all-around good person. I think I am fun and a good company at parties.