From 40510e09be37781fb9d966c97c4a5790b89dc262 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Fri, 6 Feb 2026 12:25:38 +0100 Subject: rewrote picom config for pijulius --- modules/home/i3wm/nord-blue/picom.nix | 66 ++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 13 deletions(-) (limited to 'modules/home/i3wm') diff --git a/modules/home/i3wm/nord-blue/picom.nix b/modules/home/i3wm/nord-blue/picom.nix index dfe7c74..9a10f6f 100644 --- a/modules/home/i3wm/nord-blue/picom.nix +++ b/modules/home/i3wm/nord-blue/picom.nix @@ -3,21 +3,61 @@ { services.picom = { enable = true; - backend = "glx"; - vSync = true; - inactiveOpacity = 0.9; - activeOpacity = 1.0; - fade = true; - fadeSteps = [ 0.09 0.09 ]; - fadeDelta = 5; - shadow = true; - shadowOffsets = [ 12 12 ]; - shadowOpacity = 0.5; - shadowExclude = [ - - ]; + package = pkgs.picom-pijulius; + settings = { + ### Backend + 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'" + ]; + + ### Rounded corners corner-radius = 15; + round-borders = 1; + + rounded-corners-exclude = [ + "class_g = 'i3-frame'" + "window_type = 'dock'" + ]; + + ### Animations + animations = true; + + # Physics tuning (higher = snappier) + animation-stiffness = 25; + animation-dampening = 1; + animation-window-mass = 0.01; + + ### Per-action animations + animation-for-open-window = "zoom"; + animation-for-unmap-window = "slide-up"; + animation-for-transient-window = "zoom"; + + # Moving / resizing + animation-for-move-window = "slide"; + animation-for-resize-window = "stretch"; }; }; } \ No newline at end of file -- cgit v1.2.3