-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Feature request] add an option to display the value #18
Comments
Hello, |
sorry, it didn't post the description for some reason... Yeah, I meant that I'd like to see the value because right now it's just printing it out to the terminal. |
I see. Xlib has basic text rendering features, it might not overcomplicate the codebase. Although I am not particularly in favor of it, if there really is demand for such a feature then I will gladly merge a pull request that implements it and assist whoever wants to give it a go. Note there would be details to specify beforehand such as:
I think we should first gather additional user input on the matter. |
Can the position be configured? If not, I am okay with placing it on the right side. |
This is quite an undertaking! Managing the position, size, orientation, and color depending on how much of the bar is filled up, the troll cases when inputing a ridiculously high overflow value, etc. I don't know if this may be useful to you but I plan to merge the tranparency pull request and have Remember that any kind of value can be displayed in the bar. The input value is about how many subdivisions are to be filled up among a maximum (by default 100 but it could be 1000000). For example there could be a bar for screen color temperature with raw values from 0 to 3000 that represent actual screen temperatures from 3500K to 6500K. There is no actual way to know what the user actually displays. Feel free to experiment and change things if you need to (e.g. displaying the text outside the bar on the left or right or in a dedicated cell if you want to avoid having to manage text visibility when the bar is almost full). Thank you for your work on this. |
No description provided.
The text was updated successfully, but these errors were encountered: