NickvisionApps / Cavalier

Visualize audio with CAVA
MIT License
155 stars 8 forks source link

allow setting colors from cli or file #137

Closed brainlessbitch closed 8 months ago

brainlessbitch commented 9 months ago

allowing setting colors from the cli or a file would be really useful, having to edit the colors from prefs is annoying, it completely prevents you from doing it dynamically (which is rather limiting). please add this, thanks :)

nlogozzo commented 8 months ago

In the version being released today, you will be able to use --fg aarrggbb, --fg rrggbb, --bg aarrggbb, and --bg rrggbb to set the foreground and background hex colors via CLI respectively

nlogozzo commented 8 months ago

https://github.com/NickvisionApps/Cavalier/releases/tag/2024.1.0

brainlessbitch commented 7 months ago

none of them actually work lol

image

nlogozzo commented 7 months ago
  1. Make sure you're using version 2024.1.0
  2. Run Cavalier normally from the desktop, i.e. have an instance already running, and then modify it from the command line with cavalier --bg rrggbb
brainlessbitch commented 7 months ago

ahhh, i see

brainlessbitch commented 7 months ago

but why not allow them to be passed into it at launch?

nlogozzo commented 7 months ago

but why not allow them to be passed into it at launch?

The CLI interface is meant to be used to modify your existing Cavalier instance.

If no instance is running, there is nothing to modify.

Think of it as you can't open the Preference dialog in the GUI itself, without opening the app first (just FYI all of the modifications that can be made via CLI are also found in the Preferences dialog).

Same concept.

brainlessbitch commented 7 months ago

i see, thanks