aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/nord-blue/picom.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/i3wm/nord-blue/picom.nix')
-rw-r--r--modules/home/i3wm/nord-blue/picom.nix66
1 files changed, 53 insertions, 13 deletions
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