WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

369

Is there a way to change nmtui color scheme?

( nmtui https://pic8.co/sh/tiulHF.png )

It doesn't appear to be based on dialog while it definitely looks as such, but rather on curses instead, and colors, just like the rest, seem "hard coded", or rather, based on shell's color palette. Those colors at the bottom of the following pic I presume https://pic8.co/sh/i6QdeS.png

So, how should I go about it? Change the shell colors? If yes how? I've tried a bit already but it doesn't seem to affect that palette in the pic above, anybody can provide a quick working example?

Edit: Alright, it's the terminal emulator palette entries that need to be modified...

Is there a way to change nmtui color scheme? ( nmtui https://pic8.co/sh/tiulHF.png ) It doesn't appear to be based on dialog while it definitely looks as such, but rather on curses instead, and colors, just like the rest, seem "hard coded", or rather, based on shell's color palette. Those colors at the bottom of the following pic I presume https://pic8.co/sh/i6QdeS.png So, how should I go about it? Change the shell colors? If yes how? I've tried a bit already but it doesn't seem to affect that palette in the pic above, anybody can provide a quick working example? Edit: Alright, it's the terminal emulator palette entries that need to be modified...

(post is archived)

[–] 0 pt

nmtui uses the newt library. that is called by nmtui::main()

I did not see a way to override the colors from the environment.

[–] 0 pt (edited )

I resorted to defining colors in .Xresources https://forums.bunsenlabs.org/viewtopic.php?id=206

It's the only way I think, otherwise one would need to modify the source of nmtui, or worst modify a library it relies on... Which would be a terrible idea