Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
733 B

2 years ago
{ ... }:
{
services.picom = {
enable = true;
shadow = true;
shadowOffsets = [
(-15)
(-15)
];
settings = {
backend = "glx"; # Fixes black backdrop on some rounded corners
corner-radius = 12;
round-borders = 1;
2 years ago
blur = {
method = "gaussian";
size = 8;
deviation = 2;
};
blur-background-exclude = [
"override_redirect = true"
];
# Ignore polybar
rounded-corners-exclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
];
shadow-exclude = [
"class_g = 'i3-frame'"
];
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
};
2 years ago
};
}