elkowar / eww

ElKowars wacky widgets
https://elkowar.github.io/eww
MIT License
9.11k stars 376 forks source link

[FEATURE] transform-origin css equivalent for "transform" widgets #1053

Open mdpakk opened 5 months ago

mdpakk commented 5 months ago

Description of the requested feature

Objects inside transform widgets can be rotated, but only around the top left anchor. According to the docs, it is not possible to specify the transform origin which theoretically could have been used if the transform widget's purpose was to bring CSS transforms into yuck.

Proposed configuration syntax

(transform :rotate 35 :translate-origin center (children))

Additional context

No response

mdpakk commented 5 months ago

image