From 1d12090ed516d1efca285687ec1fea9c5c52b9bb Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 3 Jun 2023 12:08:40 -0400 Subject: [PATCH] picom: add animations based on FT-Labs picom --- src/.config/picom/picom.conf | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/src/.config/picom/picom.conf b/src/.config/picom/picom.conf index 7b3e291..49d0315 100644 --- a/src/.config/picom/picom.conf +++ b/src/.config/picom/picom.conf @@ -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;