-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add configuration options #7
Comments
I have a pull request implementing the timeout option here: #9 |
Can I try and get style configuration? I was thinking of allowing an rgba value be passed on the command line for the foreground and background. |
Style and position could be configured in ~/.config/wob |
For example, The config parser is here, although the licenses of the two projects are incompatible, so it couldn't be used directly: https://github.com/florentc/xob/blob/master/src/conf.c |
I would prefer not to have a configuration file. My idea for color configuration is to have it as optional value on input.
Then adding coloring to volume would be done like this:
|
@francma Seems like a flexible approach. If that’s the case, would it also make sense to be able to add the max value in the same way? Use case being a single fifo shared by several systems with different scales. Ex:
|
@francma Have you thought about my comment on your reddit post, specifically the option to make the columns configurable with associative arguments (like This would solve the problem of having to establish, document and maintain fixed rule about how the input line should be structured. Let's say you define Also, what if I really only care about setting the |
I think that this should be solved with multiple wob instances. |
@Biont I would rather keep complexity in external scripts than in wob. I think it's not gonna be everyday that we introduce breaking changes. |
Would it be worth trying to parse a configuration file at ~/.config/wob/styles.cfg (if present) so that wob can be a drop-in replacement for xob? Or is that not a goal of wob? |
@genuinebyte I'm not planning on making wob drop in replacement for xob. |
Add command line configuration options, similar to xob. It would be great to have at least the maximum and timeout options. Style configuration would also be nice to have, but does not seem as critical.
Does this seem like something you would like to add? If so I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered: