nwg-piotr / nwg-dock

GTK3-based dock for sway
MIT License
173 stars 9 forks source link

[Question] animation support #48

Closed Itstatertots closed 3 days ago

Itstatertots commented 3 days ago

just wondering if there is animation support or if theres plans to include it in a future update

nwg-piotr commented 3 days ago

What animation do you mean?

Itstatertots commented 3 days ago

like on macos when you hover over the hot spot it slides up instead of just appearing

Itstatertots commented 3 days ago

also i just realized that i meant to post this in the hyprland repo not the sway one

nwg-piotr commented 3 days ago

Well, I'm not really keen on stuff like this. Maybe one day I'll buy a 6-pack and try to play with it. No ETA, however.

Itstatertots commented 3 days ago

completely fair one last question while i got you here is there a way to scale the icons when you hover over them with mouse?

nwg-piotr commented 3 days ago

Not really. You can set various button:hover {} CSS attributes, but not dimensions.

Itstatertots commented 3 days ago

damn thats disappointing thank you tho

nwg-piotr commented 3 days ago

There's also no direct way to do it in the code, as one can set an image for a button, but can not change its size. To implement such a feature I'd have to change the icon image on each button hover. Doable, but quite complicated and inelegant.

Itstatertots commented 3 days ago

all good i it isnt rly a huge thing for me i was just wondering if its possible