Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow setting colors from cli or file #137

Closed
exoess opened this issue Dec 12, 2023 · 8 comments
Closed

allow setting colors from cli or file #137

exoess opened this issue Dec 12, 2023 · 8 comments
Labels
feature New feature or request

Comments

@exoess
Copy link

exoess commented Dec 12, 2023

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 nlogozzo added the feature New feature or request label Jan 3, 2024
@nlogozzo
Copy link
Member

nlogozzo commented Jan 4, 2024

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
Copy link
Member

nlogozzo commented Jan 4, 2024

@exoess
Copy link
Author

exoess commented Feb 16, 2024

none of them actually work lol

image

@nlogozzo
Copy link
Member

  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

@exoess
Copy link
Author

exoess commented Feb 16, 2024

ahhh, i see

@exoess
Copy link
Author

exoess commented Feb 16, 2024

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

@nlogozzo
Copy link
Member

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.

@exoess
Copy link
Author

exoess commented Feb 16, 2024

i see, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants