Files
komorebi/docs/cli/animation-style.md
T
LGUG2Z abfa8c6a5c feat(kwin): easing curves for animations
An animation that moves a window at one pace all the way looks flat, and the
stock Geometry Change has one curve, an exponential ease out. The patched effect
reads a Curve setting, the name of one of Qt's easing curves. komorebi's styles
are those curves with Ease in front, so the look the backend is asked for names
the curve as Qt does, and the effect's settings have it next to the duration. A
cubic Bezier, which only a configuration can say, is not one of Qt's curves and
is an ease out. With the stock effect every style is that ease out.

komorebic gets animation-style, for every animation or the movement of windows
alone. vm-features puts two curves a few seconds into a 30 s move of the same
window and checks that they are in different places.

The animation key of komorebi.json takes a style too, for every kind of
animation or for one.
2026-10-28 07:20:49 -07:00

1.9 KiB

Set the ease function for movement animations

Usage: animation-style [OPTIONS]

Options:
  -s, --style <STYLE>
          Desired ease function for animation

          Possible values:
          - linear:              Linear
          - ease-in-sine:        Ease in sine
          - ease-out-sine:       Ease out sine
          - ease-in-out-sine:    Ease in out sine
          - ease-in-quad:        Ease in quad
          - ease-out-quad:       Ease out quad
          - ease-in-out-quad:    Ease in out quad
          - ease-in-cubic:       Ease in cubic
          - ease-out-cubic:      Ease out cubic
          - ease-in-out-cubic:   Ease in out cubic
          - ease-in-quart:       Ease in quart
          - ease-out-quart:      Ease out quart
          - ease-in-out-quart:   Ease in out quart
          - ease-in-quint:       Ease in quint
          - ease-out-quint:      Ease out quint
          - ease-in-out-quint:   Ease in out quint
          - ease-in-expo:        Ease in expo
          - ease-out-expo:       Ease out expo
          - ease-in-out-expo:    Ease in out expo
          - ease-in-circ:        Ease in circ
          - ease-out-circ:       Ease out circ
          - ease-in-out-circ:    Ease in out circ
          - ease-in-back:        Ease in back
          - ease-out-back:       Ease out back
          - ease-in-out-back:    Ease in out back
          - ease-in-elastic:     Ease in elastic
          - ease-out-elastic:    Ease out elastic
          - ease-in-out-elastic: Ease in out elastic
          - ease-in-bounce:      Ease in bounce
          - ease-out-bounce:     Ease out bounce
          - ease-in-out-bounce:  Ease in out bounce
          
          [default: linear]

  -a, --animation-type <ANIMATION_TYPE>
          Animation type to apply the style to. If not specified, sets global style
          
          [possible values: movement]

  -h, --help
          Print help (see a summary with '-h')