[tor-bugs] #28299 [Core Tor/Nyx]: Custom colors for Nyx and tor-prompt are needed

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 5 17:28:20 UTC 2018


#28299: Custom colors for Nyx and tor-prompt are needed
--------------------------+-----------------------------------
 Reporter:  wagon         |          Owner:  atagar
     Type:  enhancement   |         Status:  needs_information
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Nyx  |        Version:  Tor: 0.3.4.8
 Severity:  Normal        |     Resolution:
 Keywords:  tor-prompt    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+-----------------------------------

Comment (by atagar):

 Gotcha. I was worried that might be the ask. ;P

 Nyx 1.x (ie, when still called 'arm') we had more extensive
 configurability because I added options to reflect every user request.
 However, this complicated the codebase with options effectively nobody
 ever used. As such I've taken a 'less is more' approach with Nyx 2.x,
 providing a general color override but not per-field configurability.

 Lets keep this feature request open for a while to see if others chime in
 as wanting this. Maybe as part of a 'theming' feature?

 In the meantime colors are defined in simple codebase constants so with
 simple file tweaks (for instance, to 'panels/torrc.py') you should be able
 to adjust the constants as desired to fit your tastes.

 > Red, BrightRed, Green, BrightGreen, etc.

 It's minor semantics but for what it's worth in curses we have a RRB +
 CMYK pallet (red, green, blue, cyan, magenta, yellow, black). The
 'BrightRed' color you mention is a **bold** attribute applied to red. That
 said, on most (but not all) consoles it certainly does look like a
 brighter red.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28299#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list