diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-04-20 20:24:36 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:58:53 +0300 |
| commit | f5970d988c68ae1d2ac56f0a35324cd442a26be7 (patch) | |
| tree | 3c7fa7d524c7337c3b999fd577081a1230690072 /home-manager/homeModules/picom.nix | |
| parent | ec0e9896dcc0c88ef49d2b2bf8126498d3c2acec (diff) | |
add modules
Diffstat (limited to 'home-manager/homeModules/picom.nix')
| -rw-r--r-- | home-manager/homeModules/picom.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/home-manager/homeModules/picom.nix b/home-manager/homeModules/picom.nix new file mode 100644 index 0000000..4ee50de --- /dev/null +++ b/home-manager/homeModules/picom.nix @@ -0,0 +1,53 @@ +{ pkgs, config, lib, ... }: + +{ + options = { + picom.enable = lib.mkEnableOption "enable picom"; + }; + + config = lib.mkIf config.picom.enable { + services.picom = { + enable = true; + settings = { + fading = true; + fade-in-step = 0.05; + fade-out-step = 0.05; + 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; + }; + }; + }; + }; +} |
