cmatrix icon indicating copy to clipboard operation
cmatrix copied to clipboard

Advanced color configuration and static configuration from file.

Open shr00mie opened this issue 5 years ago • 2 comments

I am submitting a: Feature Request

Feature in Brief

So...this is ENTIRELY cosmetic...I think it would be really neat if you could set a primary color for all text and then a secondary color for select characters. This definitely falls under the vanity category, but it would be cool if all the letters were green except for maybe like your initials, whenever randomly generated, would show up as red.

Solution (if any)

To piggy back on the above as terms of input/configuration, maybe read from a .cmatrix config file in the user root dir or from etc? Could maybe make it easier for people set static system/user configs for stuff like screensaver elements or other automations to not have to consistently pass options to the program and instead just have it check those locations first if no options are provided.

maybe have it look something like this:

[colors]
primary = green
secondary = red

[characters]
primary = *
secondary = a, b, c

[general]
async = true
bold_random = true
bold_all = false
case_sensitive = false

expected behavior from the above would be that primary keyspace minus secondary keyspace would be in primary color, and secondary text would be in secondary color. case_sensitive = false would apply to [aA]. maybe have a general options section for the rest of the stuff under --help as well.

Would you like to work on it?

would if i could...

shr00mie avatar May 20 '19 21:05 shr00mie

That seems a cool feature. Let's implement it

would if i could...

Then do it ;)

abishekvashok avatar May 21 '19 07:05 abishekvashok

I'll be working on this. I'd like feedback from the community regarding which configuration format is preferred.

space-pagan avatar Dec 08 '20 21:12 space-pagan