aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/original/picom.nix
blob: 84b49a76f374a3da2215dfbaec7acf4782179c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, pkgs, lib, ... }:

{
  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 = [
        "class_g = 'Polybar'"
        "name = 'Polybar'"
      ];
      settings = {
        corner-radius = 15;
      };
    };
  };
}