update picom config

This commit is contained in:
2024-01-09 09:30:41 +05:30
parent 10f63821cb
commit f5162195cc

View File

@ -1,7 +1,6 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
services.picom = { services.picom = {
enable = false; enable = true;
extraArgs = [ "--animations" ];
fade = true; fade = true;
fadeDelta = 5; fadeDelta = 5;
@ -11,32 +10,37 @@
]; ];
settings = { settings = {
backend = "glx"; experimental-backend = true;
backend = "xrender";
use-damage = false; use-damage = false;
corner-radius = 12; corner-radius = 0;
animation-stiffness = 300; animations = true;
animation-window-mass = 1.3; animation-stiffness = 500;
animation-dampening = 35; animation-window-mass = 1.0;
animation-dampening = 26;
animation-delta = 10;
animation-force_steps = false;
animation-clamping = true; animation-clamping = true;
animation-for-open-window = "zoom"; animation-for-open-window = "slide-up";
animation-for-menu-window = "slide-down"; animation-for-menu-window = "slide-down";
animation-for-transient-window = "slide-down"; animation-for-transient-window = "slide-down";
animation-for-prev-tag = "zoom"; animation-for-unmap-window = "slide-up";
animation-for-prev-tag = "slide-left";
enable-fading-prev-tag = true; enable-fading-prev-tag = true;
animation-for-next-tag = "zoom"; animation-for-next-tag = "slide-right";
enable-fading-next-tag = true; enable-fading-next-tag = true;
shadow = true; shadow = false;
shadow-radius = 20; shadow-radius = 20;
shadow-offset-x = -20; shadow-offset-x = -20;
shadow-offset-y = -18; shadow-offset-y = -18;
no-fading-openclose = false; no-fading-openclose = false;
vsync = false; vsync = true;
}; };
}; };
} }