Open System64fumo opened 10 months ago
Not sure how feasible this is due to how we capture input. This would be a compositor feature if I'm not mistaken.
I'll keep the issue open just in case anyone else has an implementation idea
@ErikReider I've written something similar to this in sysmenu Tho with my implementation it's a little buggy (if used with a mouse) and spans the whole width of the monitor.
In a nutshell: keep the window open have a small box on the edge you want to swipe from change width according to how far you've moved from the starting point on release check if it's more than half of the nc's width or height then set it's width or height to max or min
Feel free to take a look at it see if you can port this over to swaync. (I'm not that good with vala, sorry)
Please read through the README and the Man pages before submitting Please also make sure that there isn't any prior issue describing this feature
Is your feature request related to a problem? Please describe. Not a problem, More of a difficult suggestion.
Describe the solution you'd like It would be nice to have touch gestures for opening/closing the panel.
Describe alternatives you've considered I've tried using touch gestures from other programs (lisgd, ect) to open/close the notification center, But that doesn't follow the finger properly, It just pops into place and feels very off.
Additional context I'm not sure if this is even possible but this is how i'm thinking this could work, Have the panel be invisible and be very thin on the side, Then if a touch input (and only touch input) is dragging the panel more than x amount of pixels start revealing the panel.
Perhaps a carousel could be used here? Please let me know.