-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Better notch handling #120
Comments
I'm just going through and rewriting my bar with the notch in mind. Mostly just playing with ideas right now, but I was thinking it would be nice to have a fade in and out animation. On hover or when triggered this would look really cool. My goal is to almost completely fade out most of the items on the bar so it looks almost like capacitive buttons on the bezel. The bar needs to be dynamic now that there's a notch and information needs to be shown uniformly in certain places when it's relevant. I was thinking about writing a script but wasn't sure how to do this elegantly or without blocking processes with sleep commands. |
Animations are on my todo list, simple transitions between colors and positions should be no problem to implement, maybe I will look into some nice easing functions for that as well. But in preparation for this I need to work on the core logic a bit to make this resource efficient. Maybe I will have some time for this over the holidays, as I already have the syntax for this sketched out roughly. With the current scripting this is probably not possible in an efficient manner. |
I think #132 will also aid the notch handling, because many information can now be put into a popup window. |
The |
The fade in, fade out animation should now be possible on latest master with the new animation feature and the global mouse entered and exited events (#178). |
Personally, I use a program called "forehead" to hide the notch, and use y_offset to lower my bar to be fully visible. |
As these features will be included in the upcoming release officially and are now documented I will close this for now. |
Center Items make no sense on notched screens. Items can already be placed anchored left and right on the notch with the experimental positions
position=q
andposition=e
where the naming is subject to change.The width of the notch can be adjusted via:
The y-offset applied to the notched screen excusively can be set since fcef6cc via:
This thread can be used to collect further ideas for better notch handling.
It is frustrating when items get below the notch so there should be a method in place to prevent that, possibly by creating an "overflow item" like #119.
The text was updated successfully, but these errors were encountered: