Skip to content

animations ​

Enter/exit and change animations for transient surfaces.

General ​

FieldTypeDefaultDescription
enabledbooltrueEnable enter/exit animations (OSD, toasts, notifications) and icon-change crossfades. When disabled, surfaces appear instantly.
reduced-motionboolfalseReplace motion with fades in the shell and, through the portal's reduced-motion setting, in apps: surfaces fade instead of sliding, swinging or bouncing, and looping indicators stop. Under lys-wm this key has no effect and says so: lys-wm's animations.reduced_motion owns the setting for the whole desktop.
durationAnimationMS200Animation duration in milliseconds.
transitionAnimationType"fade"Transition style used for enter/exit of the OSD, toasts, and notification cards. Base fallback for every surface and direction enter and exit leave unset.
enterAnimationType or nullnullGlobal enter transition. Unset → transition.
exitAnimationType or null"lift"Global exit transition: lift unless set.
enter-durationAnimationMS or nullnullGlobal enter duration in ms. Unset → duration.
exit-durationAnimationMS or nullnullGlobal exit duration in ms. Unset → duration.
interaction-durationAnimationMS150Duration in ms for in-place dropdown transitions: hover highlights and the page/stack crossfades inside dropdowns. enabled: false removes them entirely.
ui-durationAnimationMS250Base duration in ms for general UI micro-transitions (hover, focus, and color fades) driven by the CSS --duration-* token family. Fast, normal, and slow speeds are derived from this. enabled: false zeroes them for an instant UI.
indicatorsbooltrueRun looping status indicators: spinners, network/bluetooth scan animations, the recording pulse, and the clock blink. Disable (or set enabled: false) for a fully static UI.
notificationsSurfaceAnimation{...}Per-surface override for notification popup cards. Enter defaults to slide-left, which moves a card in from the right edge at its full width instead of growing it into place: the popups hang off the right of the screen. exit stays the global lift.
osdSurfaceAnimation{...}Per-surface override for the OSD (volume/brightness/toggle/toast).
dropdownSurfaceAnimation{...}Per-surface override for bar widget dropdown foldouts.
share-pickerSurfaceAnimation{...}Per-surface override for the screen-share picker overlay.
wallpaperSurfaceAnimation{...}Per-surface override for the wallpaper crossfade between images.
powerSurfaceAnimation{...}Per-surface override for the power menu overlay.
dialogSurfaceAnimation{...}Per-surface override for portal dialogs (access/account/app-chooser/ launcher-install prompts).
file-chooserSurfaceAnimation{...}Per-surface override for the portal file-chooser surface.
printSurfaceAnimation{...}Per-surface override for the portal print surface.
lockSurfaceAnimation{...}Per-surface override for the lock screen reveal.
launcherSurfaceAnimation{...}Per-surface override for the application launcher.
menuSurfaceAnimation{...}Per-surface override for menus, context menus, the lists of dropdown inputs and window previews. Enter and exit durations default to 0, so they open in the frame of the click; a longer one starts already showing. fade only fades, lift grows the menu about its center as it fades, and any other transition grows it out of what it opened from and back into it.

Default configuration ​

yaml
animations:
  enabled: true
  reduced-motion: false
  duration: 200
  transition: fade
  exit: lift
  interaction-duration: 150
  ui-duration: 250
  indicators: true

Released under the MIT License.