rusty_desktop_icons.IconAnimationSpec

class rusty_desktop_icons.IconAnimationSpec

Per-icon animation description.

May be constructed programmatically or, when passed to [DesktopController.animate], as a plain dict with keys id, target, duration, curve_x / curve_y (or curve for both axes).

Build a spec with a single curve applied to both axes.

property id: str
property target: tuple[int, int]