2025-09-04 10:21:17 +02:00
|
|
|
_: {
|
2025-08-21 11:21:15 +02:00
|
|
|
services.picom = {
|
|
|
|
|
enable = true;
|
|
|
|
|
backend = "glx"; # plus fluide si ta carte gère bien OpenGL
|
|
|
|
|
fade = true;
|
2025-09-04 10:21:17 +02:00
|
|
|
fadeDelta = 5; # vitesse fondu
|
2025-08-21 11:21:15 +02:00
|
|
|
shadow = true;
|
|
|
|
|
shadowOpacity = 0.5;
|
2025-09-04 10:21:17 +02:00
|
|
|
vSync = true; # évite le tearing
|
2025-08-21 11:21:15 +02:00
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
|
# Transparence
|
|
|
|
|
inactive-opacity = 0.80;
|
2025-09-04 10:21:17 +02:00
|
|
|
active-opacity = 0.9;
|
|
|
|
|
frame-opacity = 0.90;
|
2025-08-21 11:21:15 +02:00
|
|
|
inactive-opacity-override = false;
|
|
|
|
|
|
|
|
|
|
# Coins arrondis
|
|
|
|
|
corner-radius = 8;
|
|
|
|
|
round-borders = 1;
|
|
|
|
|
rounded-corners-exclude = [
|
|
|
|
|
"class_g = 'Polybar'"
|
|
|
|
|
"class_g = 'Rofi'"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# Flou subtil
|
|
|
|
|
blur-method = "dual_kawase";
|
|
|
|
|
blur-strength = 4;
|
|
|
|
|
blur-background = true;
|
|
|
|
|
blur-background-frame = true;
|
|
|
|
|
blur-background-fixed = false;
|
|
|
|
|
blur-background-exclude = [
|
|
|
|
|
"class_g = 'Polybar'"
|
|
|
|
|
"class_g = 'Rofi'"
|
2025-09-04 10:21:17 +02:00
|
|
|
"class_g = 'Gimp'"
|
2025-08-21 11:21:15 +02:00
|
|
|
"window_type = 'dock'"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# Exclusions ombres
|
|
|
|
|
shadow-exclude = [
|
|
|
|
|
"class_g = 'Polybar'"
|
|
|
|
|
"class_g = 'Rofi'"
|
|
|
|
|
"window_type = 'dock'"
|
|
|
|
|
"window_type = 'desktop'"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|
2025-08-31 12:03:52 +02:00
|
|
|
# vim: set ts=2 sw=2 sts=2 et :
|
2025-09-04 10:21:17 +02:00
|
|
|
|