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

Add percentage labels to volume and brightness indicators #69

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Ferdi265
Copy link

This PR adds a textual percentage next to the progress bar in the volume and brightness indicators. This is useful for users who still want to know the exact volume percentage set in practice.

Optimally this should be configurable, but this PR currently just unconditionally adds these percentage indicators. I will potentially add configurability if I find time.

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also prefer if the user could disable this. Might wait with this until config support has been added to undo some of the cmdline arg clutter

src/server/osd_window.rs Outdated Show resolved Hide resolved
@Ferdi265
Copy link
Author

I'd also prefer if the user could disable this. Might wait with this until config support has been added to undo some of the cmdline arg clutter

Yes, that is my thought as well. I'm completely fine with leaving this PR hanging until config support is added, I might even help with implementing config support if I find time.

@Ferdi265 Ferdi265 force-pushed the volume-brightness-percentage branch 3 times, most recently from c6f84c5 to c9b6d0d Compare February 18, 2024 14:19
@Ferdi265
Copy link
Author

Rebased on top of #79 and added a configuration option to enable percentage display.

@ErikReider
Copy link
Owner

I'll wait until #79 is merged :)

@Ferdi265 Ferdi265 force-pushed the volume-brightness-percentage branch from 04a6652 to 2463549 Compare April 21, 2024 16:14
@Ferdi265 Ferdi265 force-pushed the volume-brightness-percentage branch from 2463549 to 07f7107 Compare May 6, 2024 16:50
@Ferdi265 Ferdi265 force-pushed the volume-brightness-percentage branch from 07f7107 to c6c9604 Compare May 6, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants