From 2b9d3b0d0e73e7b42d11eb757e6ac8a83e4ca368 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 18 Aug 2023 03:30:43 +0700 Subject: [PATCH] Animations: document slidefade and slidefadevert styles for workspace (#305) --- pages/Configuring/Animations.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/Configuring/Animations.md b/pages/Configuring/Animations.md index c01449f..1968b95 100644 --- a/pages/Configuring/Animations.md +++ b/pages/Configuring/Animations.md @@ -46,7 +46,7 @@ global ↳ fadeDim - the easing of the dimming of inactive windows ↳ border - for animating the border's color switch speed ↳ borderangle - for animating the border's gradient angle - styles: once (default), loop - ↳ workspaces - styles: slide, slidevert, fade + ↳ workspaces - styles: slide, slidevert, fade, slidefade, slidefadevert ↳ specialWorkspace - styles: same as workspaces ``` @@ -72,10 +72,16 @@ bezier=overshot,0.05,0.9,0.1,1.1 # Extras For animation style `popin` in `windows`, you can specify a minimum percentage -to start from. For example: +to start from. For example, the following will make the animation 80% -> 100% of the size: ```ini animation=windows,1,8,default,popin 80% ``` -will make the animation 80% -> 100% of the size. +For animation styles `slidefade` and `slidefadevert` in `windows`, you can specify a movement +percentage. For example, the following will make windows move 20% of the screen width: + +```ini +animation=windows,1,8,default,slidefade 20% +``` +