Animations are declared with the
animation=NAME,ONOFF,SPEED,CURVE,STYLE or animation=NAME,ONOFF,SPEED,CURVE
ONOFF can be either 0 or 1, 0 to disable, 1 to enable.
SPEED is the amount of ds (1ds = 100ms) the animation will take
CURVE is the bezier curve name, see curves.
STYLE (optional) is the animation style
The animations are a tree. If an animation is unset, it will inherit its parent’s values. See the animation tree.
global ↳ windows - styles: slide, popin ↳ windowsIn - window open ↳ windowsOut - window close ↳ windowsMove - everything in between, moving, dragging, resizing. ↳ fade ↳ fadeIn - fade in (open) -> layers and windows ↳ fadeOut - fade out (close) -> layers and windows ↳ fadeSwitch - fade on changing activewindow and its opacity ↳ fadeShadow - fade on changing activewindow for shadows ↳ fadeDim - the easing of the dimming of inactive windows ↳ border ↳ workspaces - styles: slide, slidevert, fade ↳ specialWorkspace - styles: same as workspaces
Defining your own Bezier curve can be done with the
NAME is the name, and the rest are two points for the Cubic Bezier. A
good website to design your bezier can be found
here, on cssportal.com, but
if you want to instead choose from a list of beziers, you can check out easings.net.
For animation style
windows, you can specify a minimum percentage
to start from. For example:
will make the animation 80% -> 100% of the size.