Skyler Grey | 51a0c61 | 2022-11-05 09:59:04 +0000 | [diff] [blame] | 1 | { lib, pkgs, ... }: { |
| 2 | home = { |
| 3 | services.picom = { |
| 4 | enable = true; |
| 5 | package = pkgs.picom-next; |
| 6 | experimentalBackends = true; |
| 7 | backend = "glx"; |
| 8 | fade = true; |
| 9 | inactiveOpacity = 0.9; |
| 10 | vSync = true; |
| 11 | settings = { |
| 12 | blur.method = "dual_kawase"; |
| 13 | corner-radius = 10; |
| 14 | glx-no-stencil = true; |
| 15 | unredir-if-possible = true; |
| 16 | use-damage = true; |
| 17 | no-fading-openclose = true; |
| 18 | fade-in-step = 0.005; |
| 19 | fade-out-step = 0.005; |
| 20 | no-fading-larger-than = 0.1; |
Skyler Grey | e05169b | 2023-01-26 00:46:31 +0000 | [diff] [blame] | 21 | blur-background-exclude = [ |
| 22 | "class_g = 'slop'" |
| 23 | ]; |
Skyler Grey | 51a0c61 | 2022-11-05 09:59:04 +0000 | [diff] [blame] | 24 | rounded-corners-exclude = [ |
| 25 | "class_g = 'Polybar'" |
Skyler Grey | e05169b | 2023-01-26 00:46:31 +0000 | [diff] [blame] | 26 | "class_g = 'slop'" |
Skyler Grey | 51a0c61 | 2022-11-05 09:59:04 +0000 | [diff] [blame] | 27 | ]; |
| 28 | }; |
| 29 | }; |
| 30 | systemd.user.services.picom.Install.WantedBy = lib.mkForce [ ]; |
| 31 | }; |
| 32 | } |