From 03648b3d9f177227df40129bed22558f6924b91c Mon Sep 17 00:00:00 2001 From: spl3g Date: Wed, 18 Mar 2026 18:01:41 +0300 Subject: so.. v2 i guess --- modules/homeModules/picom.nix | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 modules/homeModules/picom.nix (limited to 'modules/homeModules/picom.nix') diff --git a/modules/homeModules/picom.nix b/modules/homeModules/picom.nix new file mode 100644 index 0000000..a7835eb --- /dev/null +++ b/modules/homeModules/picom.nix @@ -0,0 +1,57 @@ +{inputs, ...}: { + flake.homeModules.picom = { + pkgs, + config, + lib, + ... + }: { + options.customs = { + picom.enable = lib.mkEnableOption "enable picom"; + }; + + config = lib.mkIf config.customs.picom.enable { + services.picom = { + enable = true; + settings = { + fading = true; + fade-delta = 3; + blur-background = false; + corner-radius = 8; + # blur = { + # method = "dual_kawase"; + # size = 12; + # deviation = false; + # strength = 2; + # kern = "3x3box"; + # }; + backend = "glx"; + vsync = true; + mark = { + wmwin-focused = true; + overdir-focused = true; + }; + detect = { + rounded-corners = true; + client-opacity = true; + transient = true; + }; + use-ewmh-active-win = true; + glx-no-stencil = true; + use-damage = true; + }; + wintypes = { + tooltip = { + fade = true; + shadow = true; + full-shadow = false; + blur = false; + focus = true; + }; + dock = { + shadow = false; + }; + }; + }; + }; + }; +} -- cgit v1.2.3