WayfireWM / wf-config

A library for managing configuration files, written for wayfire
https://wayfire.org/
MIT License
18 stars 19 forks source link

add configurable animations #65

Closed ammen99 closed 8 months ago

ammen99 commented 8 months ago

This PR adds a new config option type, animation.

It can be used instead of plain integers for animation durations. In contrast to the basic integers, the new animation type uses a suffix to indicate the unit of time, ms or s. It can also optionally override the easing function used for the particular animation.

As a test, this also adds a new elasticEaseOut easing function.

Fixes #6