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.

38 lines
779 B

{ pkgs, lib, ... }:
{
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;
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'"
"override_redirect = true"
];
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
};
};
}