-
Notifications
You must be signed in to change notification settings - Fork 348
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
Progress bar as notification background #318
Comments
Figured I'd see if I could figure out how to implement this myself. I've literally never written anything in C before, so I couldn't figure out how to add configuration options for the color and stuff (right now it just uses a slightly brighter background color), but I got a simple progress bar working if anyone really wants one enough to use a crappy fork. |
Hey, I tested your fork, Also I would not use the full height of the notification as progress bar. As a quick hack, I used Adding options has to be done in multiple files, but can be done straight forward. But I don't know if it's worth adding an option for it. IMHO I would just simply add it as a new feature without configuration. |
It's a simple order of action bug: Look at If I deactivate If I activate Changing the order (first multiplying and then dividing) will solve the issue. |
@bebehei Thanks for the help! I updated my fork. I'd submit a PR, but I feel like at the very least I'd want to have a configuration option to enable/disable progress bars first... I guess I'll look into that later and see if I can figure it out. |
The title of this issue gave me the wrong expectations as to what your patch did. So, I decided I could make it fancier: Here's the patch:
|
@mid-kid Well, I think it's oneself's definition of "what is fancy". We all have some different taste. I personally dislike it to have the full width in background. But thanks for your submission. I never thought of changing the frame color. Actually, what I'm eager to search for, are some meaningful options to give everyone the ability to specify a geometry for their own progress bar. |
#775 was merged, I'll consider this solved. |
Being able to use the value of %p to fill the background like a progress would be cool (i.e. with a 25% progress value, the left quarter of the notification could be filled brighter than the rest)
The text was updated successfully, but these errors were encountered: