meta: Move picom config out of dwm

This is part of simplifying the config to make `home` the single source
of truth for home-manager modules.
This commit is contained in:
Donovan Glover 2024-08-27 15:05:33 -04:00
parent 214e814691
commit d10c5565fb
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 41 additions and 40 deletions

41
home/picom.nix Normal file
View File

@ -0,0 +1,41 @@
{
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;
opacityRules = [
"95:class_g = 'Thunar'"
];
settings = {
blur = {
method = "dual_kawase";
size = 10;
};
blur-background-exclude = [
"class_g = 'Nemo-desktop'"
];
clip-shadow-above = [
"class_g = 'dwm'"
];
};
};
}

View File

@ -98,46 +98,6 @@ in
};
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;
opacityRules = [
"95:class_g = 'Thunar'"
];
settings = {
blur = {
method = "dual_kawase";
size = 10;
};
blur-background-exclude = [
"class_g = 'Nemo-desktop'"
];
clip-shadow-above = [
"class_g = 'dwm'"
];
};
};
dunst = {
enable = true;