mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
42 lines
672 B
Nix
42 lines
672 B
Nix
|
{
|
||
|
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'"
|
||
|
];
|
||
|
|
||
|
shadowExclude = fadeExclude;
|
||
|
|
||
|
opacityRules = [
|
||
|
"95:class_g = 'Thunar'"
|
||
|
];
|
||
|
|
||
|
settings = {
|
||
|
blur = {
|
||
|
method = "dual_kawase";
|
||
|
size = 10;
|
||
|
};
|
||
|
|
||
|
blur-background-exclude = [
|
||
|
"class_g = 'Nemo-desktop'"
|
||
|
];
|
||
|
|
||
|
clip-shadow-above = [
|
||
|
"class_g = 'dwm'"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|