blob: f83d7caee5b032fbf5dcb1ddf39f55de850a271f [file] [log] [blame]
Skyler Grey51a0c612022-11-05 09:59:04 +00001{ lib, pkgs, ... }: {
2 home = {
3 services.picom = {
4 enable = true;
5 package = pkgs.picom-next;
Skyler Grey51a0c612022-11-05 09:59:04 +00006 backend = "glx";
7 fade = true;
8 inactiveOpacity = 0.9;
9 vSync = true;
10 settings = {
11 blur.method = "dual_kawase";
12 corner-radius = 10;
13 glx-no-stencil = true;
14 unredir-if-possible = true;
15 use-damage = true;
16 no-fading-openclose = true;
17 fade-in-step = 0.005;
18 fade-out-step = 0.005;
19 no-fading-larger-than = 0.1;
Skyler Greye05169b2023-01-26 00:46:31 +000020 blur-background-exclude = [
21 "class_g = 'slop'"
22 ];
Skyler Grey51a0c612022-11-05 09:59:04 +000023 rounded-corners-exclude = [
24 "class_g = 'Polybar'"
Skyler Greye05169b2023-01-26 00:46:31 +000025 "class_g = 'slop'"
Skyler Grey51a0c612022-11-05 09:59:04 +000026 ];
27 };
28 };
29 systemd.user.services.picom.Install.WantedBy = lib.mkForce [ ];
30 };
31}