pull down to refresh

You can inject your own color config using:

sudoedit /etc/newt/palette

Or better:

mkdir -p ~/.config/nmtui
cp /etc/newt/palette ~/.config/nmtui/palette

Then edit your alias:

alias nmtui='NEWT_COLORS=$(<~/.config/nmtui/palette) nmtui'

You can tweak the palette like:

root=white,black
border=black,brightblue
window=gray,black
title=brightwhite,black
button=black,gray
button_active=brightwhite,blue
checkbox=green,black

Catppuccin Mocha-inspired tweaks:

root=lavender,crust
border=sapphire,base
window=overlay0,base
title=rosewater,crust
button=surface2,lavender
button_active=crust,maroon

To apply:

export NEWT_COLORS=$(<~/.config/nmtui/palette)
nmtui

BONUS One-liner:

alias nmtui='NEWT_COLORS="root=lavender,crust border=sapphire,base window=overlay0,base title=rosewater,crust button=surface2,lavender button_active=crust,maroon" nmtui'

Replace the color names with Xterm-256-compatible ones or hex via terminal emulators that support truecolor.

This is the dark palette I use. Sharing it because people might want to see all the element names:

root=white,black
border=black,lightgray
window=lightgray,lightgray
shadow=black,gray
title=black,lightgray
button=black,cyan
actbutton=white,cyan
compactbutton=black,lightgray
checkbox=black,lightgray
actcheckbox=lightgray,cyan
entry=black,lightgray
disentry=gray,lightgray
label=black,lightgray
listbox=black,lightgray
actlistbox=black,cyan
sellistbox=lightgray,black
actsellistbox=lightgray,black
textbox=black,lightgray
acttextbox=black,cyan
emptyscale=,gray
fullscale=,cyan
helpline=white,black
roottext=lightgrey,black

reply

Cool, this works!

I have to tweak it a little to make it look better but this already helped me a lot. I will pay you the bounty.

However, I see you don't have a horse which means you don't have a wallet attached. Do you want to attach a wallet first so you can receive sats?

reply