Files
tnvim/modules/home-manager/picom/default.nix
2023-12-21 13:05:49 +05:30

43 lines
929 B
Nix

{ config, pkgs, ... }: {
services.picom = {
enable = false;
extraArgs = [ "--animations" ];
fade = true;
fadeDelta = 5;
fadeSteps = [ 0.05 0.05 ];
fadeExclude = [
"window_type *= 'menu'"
];
settings = {
backend = "glx";
use-damage = false;
corner-radius = 12;
animation-stiffness = 300;
animation-window-mass = 1.3;
animation-dampening = 35;
animation-clamping = true;
animation-for-open-window = "zoom";
animation-for-menu-window = "slide-down";
animation-for-transient-window = "slide-down";
animation-for-prev-tag = "zoom";
enable-fading-prev-tag = true;
animation-for-next-tag = "zoom";
enable-fading-next-tag = true;
shadow = true;
shadow-radius = 20;
shadow-offset-x = -20;
shadow-offset-y = -18;
no-fading-openclose = false;
vsync = false;
};
};
}