picom: add animations

based on FT-Labs picom
This commit is contained in:
dogeystamp 2023-06-03 12:08:40 -04:00
parent 445054554a
commit 1d12090ed5
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -1,4 +1,26 @@
backend = "glx"
backend = "glx";
# animations
# works with https://github.com/FT-Labs/picom
# if your picom doesn't support it it won't do anything
animations = true;
animation-stiffness-in-tag = 125;
animation-stiffness-tag-change = 90.0;
animation-window-mass = 0.4;
animation-dampening = 15;
animation-clamping = true;
animation-for-open-window = "slide-up";
animation-for-unmap-window = "slide-up";
animation-for-transient-window = "slide-up";
animation-for-prev-tag = "slide-up";
enable-fading-prev-tag = true;
animation-for-next-tag = "slide-in-center";
enable-fading-next-tag = true;
# enable vsync
vsync = true;
# shadow
shadow = true;
@ -13,4 +35,4 @@ fade-out-step = 0.05;
fade-delta = 5;
# corner
corner-radius = 8
corner-radius = 8;