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.

29 lines
1.0 KiB

2 years ago
{ ... }:
{
services.picom = {
enable = true;
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;
# deviation = 0.84089642;
};
#blur-method = "kernel";
#blur-kern = "7,7,0.000003,0.000102,0.000849,0.001723,0.000849,0.000102,0.000003,0.000102,0.003494,0.029143,0.059106,0.029143,0.003494,0.000102,0.000849,0.029143,0.243117,0.493069,0.243117,0.029143,0.000849,0.001723,0.059106,0.493069,0.493069,0.059106,0.001723,0.000849,0.029143,0.243117,0.493069,0.243117,0.029143,0.000849,0.000102,0.003494,0.029143,0.059106,0.029143,0.003494,0.000102,0.000003,0.000102,0.000849,0.001723,0.000849,0.000102,0.000003";
# Ignore polybar
rounded-corners-exclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
];
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
};
2 years ago
};
}