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; |
Skyler Grey | 51a0c61 | 2022-11-05 09:59:04 +0000 | [diff] [blame] | 6 | 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 Grey | e05169b | 2023-01-26 00:46:31 +0000 | [diff] [blame] | 20 | blur-background-exclude = [ |
| 21 | "class_g = 'slop'" |
Skyler Grey | a7f3685 | 2023-01-25 21:38:55 +0000 | [diff] [blame] | 22 | "WM_NAME@:s *?= 'activate-linux'" |
Skyler Grey | e05169b | 2023-01-26 00:46:31 +0000 | [diff] [blame] | 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 | a7f3685 | 2023-01-25 21:38:55 +0000 | [diff] [blame] | 27 | "WM_NAME@:s *?= 'activate-linux'" |
Skyler Grey | 51a0c61 | 2022-11-05 09:59:04 +0000 | [diff] [blame] | 28 | ]; |
| 29 | }; |
| 30 | }; |
| 31 | systemd.user.services.picom.Install.WantedBy = lib.mkForce [ ]; |
| 32 | }; |
| 33 | } |