mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-31 09:59:15 +01:00
190da5ed57
Fixes an issue where maim selection was being affected by picom.
49 lines
800 B
Nix
49 lines
800 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
services.picom = rec {
|
|
enable = true;
|
|
backend = "glx";
|
|
|
|
vSync = true;
|
|
fade = true;
|
|
shadow = true;
|
|
|
|
fadeDelta = 5;
|
|
shadowOpacity = 0.2;
|
|
|
|
fadeExclude = [
|
|
"window_type = 'menu'"
|
|
"window_type = 'dropdown_menu'"
|
|
"window_type = 'popup_menu'"
|
|
"window_type = 'tooltip'"
|
|
];
|
|
|
|
shadowExclude = fadeExclude ++ [
|
|
"class_g = 'slop'"
|
|
];
|
|
|
|
opacityRules = [
|
|
"95:class_g = 'Thunar'"
|
|
];
|
|
|
|
settings = {
|
|
blur = {
|
|
method = "dual_kawase";
|
|
size = 10;
|
|
};
|
|
|
|
blur-background-exclude = [
|
|
"class_g = 'Nemo-desktop'"
|
|
"class_g = 'slop'"
|
|
];
|
|
|
|
clip-shadow-above = [
|
|
"class_g = 'dwm'"
|
|
];
|
|
};
|
|
};
|
|
|
|
systemd.user.services.picom = lib.mkForce { };
|
|
}
|