dotfiles/modules/picom.nix

28 lines
595 B
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
let
base = {
services.picom = {
enable = true;
inactiveOpacity = "0.95";
opacityRule = [
"100:fullscreen"
"80 :class_g = 'Polybar'"
];
blur = true;
inactiveDim = "0.1";
};
2021-09-10 10:15:57 +02:00
extraOptions = ''
corner-radius = 10;
rounded-cornes-exclude = [
"class_g = 'Polybar'",
"class_g = 'Rofi'"
]
round-borders = 1;
'';
2021-09-09 21:55:28 +02:00
};
in
{
home-manager.users.moritz = {...}: (base);
}