2024-08-28 02:11:23 +02:00
|
|
|
{ lib, ... }:
|
|
|
|
|
2024-08-27 21:05:33 +02:00
|
|
|
{
|
|
|
|
services.picom = rec {
|
|
|
|
enable = true;
|
|
|
|
backend = "glx";
|
|
|
|
|
|
|
|
vSync = true;
|
|
|
|
fade = true;
|
|
|
|
shadow = true;
|
|
|
|
|
|
|
|
fadeDelta = 5;
|
|
|
|
shadowOpacity = 0.2;
|
|
|
|
|
|
|
|
fadeExclude = [
|
|
|
|
"window_type = 'menu'"
|
|
|
|
"window_type = 'dropdown_menu'"
|
|
|
|
"window_type = 'popup_menu'"
|
|
|
|
"window_type = 'tooltip'"
|
|
|
|
];
|
|
|
|
|
2024-09-05 01:37:11 +02:00
|
|
|
shadowExclude = fadeExclude ++ [
|
|
|
|
"class_g = 'slop'"
|
|
|
|
];
|
2024-08-27 21:05:33 +02:00
|
|
|
|
|
|
|
opacityRules = [
|
|
|
|
"95:class_g = 'Thunar'"
|
|
|
|
];
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
blur = {
|
|
|
|
method = "dual_kawase";
|
|
|
|
size = 10;
|
|
|
|
};
|
|
|
|
|
|
|
|
blur-background-exclude = [
|
2024-09-05 01:37:11 +02:00
|
|
|
"class_g = 'slop'"
|
2024-08-27 21:05:33 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
clip-shadow-above = [
|
|
|
|
"class_g = 'dwm'"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-08-28 02:11:23 +02:00
|
|
|
|
|
|
|
systemd.user.services.picom = lib.mkForce { };
|
2024-08-27 21:05:33 +02:00
|
|
|
}
|