nixos-config/config/modules/bspwm/picom.nix

25 lines
382 B
Nix
Raw Normal View History

2024-07-29 00:00:59 +00:00
{ ... }:
2024-08-02 16:49:54 +00:00
let
theme = import ../theme.nix "light";
in
2024-07-29 00:00:59 +00:00
{
services.picom = {
enable = true;
backend = "glx";
activeOpacity = 1;
inactiveOpacity = 0.75;
2024-08-02 16:49:54 +00:00
# shadow = true;
2024-07-29 00:00:59 +00:00
vSync = true;
settings = {
blur = {
method = "gaussian";
size = 50;
deviation = 10.0;
};
2024-08-02 16:49:54 +00:00
corner-radius = theme.border-radius;
2024-07-29 00:00:59 +00:00
};
};
}