{pkgs, ...}: { services.picom = { enable = true; package = pkgs.picom-pijulius; settings = { backend = "glx"; vsync = true; # Opacity inactive-opacity = 0.9; active-opacity = 1.0; # Fading fading = true; fade-delta = 5; fade-in-step = 0.09; fade-out-step = 0.09; # Shadows shadow = true; shadow-radius = 15; shadow-opacity = 0.5; shadow-offset-x = 12; shadow-offset-y = 12; shadow-exclude = [ "class_g = 'i3-frame'" "window_type = 'dock'" "window_type = 'desktop'" "window_type = 'notification'" "name = 'dmenu'" "class_g = 'dmenu'" "class_g = 'Dunst'" "class_g = 'dunst'" ]; # Rounded corners corner-radius = 15; round-borders = 1; rounded-corners-exclude = [ "class_g = 'i3-frame'" "window_type = 'dock'" "window_type = 'notification'" "class_g = 'Dunst'" "class_g = 'dunst'" ]; # Animations animations = true; animation-stiffness = 25; animation-dampening = 1; animation-window-mass = 0.01; animation-for-open-window = "zoom"; animation-for-unmap-window = "slide-up"; animation-for-transient-window = "zoom"; animation-for-move-window = "slide"; animation-for-resize-window = "stretch"; }; }; }