2021-05-13 00:35:35 +00:00
|
|
|
# Configuration for the Picom Compositor
|
2022-03-07 14:26:15 +00:00
|
|
|
{config, ...}: {
|
2021-05-13 00:35:35 +00:00
|
|
|
services = {
|
|
|
|
picom = {
|
|
|
|
enable = true;
|
|
|
|
backend = "glx";
|
|
|
|
fade = true;
|
|
|
|
inactiveOpacity = 0.8;
|
|
|
|
menuOpacity = 0.8;
|
2022-03-07 14:26:15 +00:00
|
|
|
opacityRules = ["100:class_g = 'XScreenSaver'"];
|
|
|
|
settings = {use-ewmh-active-win = true;};
|
2021-05-13 00:35:35 +00:00
|
|
|
vSync = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|