How to animate transform widget? #665
-
I have some ideas, and I think the transform widget might be what I need. Before I dive into trying to use it, I just wanted to know if it can be animated. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
AFAIK no, you could hack something by progressively updating a variable but it probably wouldn't be fluid. For animations in eww you've got revealers and (GTK) css transitions. (Gtk4 has css transforms which would work, but it's gonna be a long time before eww switches to it because of things the gnome people don't want to support IIRC) |
Beta Was this translation helpful? Give feedback.
-
I was just messing around with eww and I discovered that transforms are actually implemented but they are called in eww.yuck:
in eww.scss:
This code will make it so each time you click on the button the image will rotate 180 degrees back and forth. |
Beta Was this translation helpful? Give feedback.
AFAIK no, you could hack something by progressively updating a variable but it probably wouldn't be fluid. For animations in eww you've got revealers and (GTK) css transitions.
(Gtk4 has css transforms which would work, but it's gonna be a long time before eww switches to it because of things the gnome people don't want to support IIRC)