glorious refactor (part 2
This commit is contained in:
parent
2a5e635c0d
commit
d002a100dd
20 changed files with 308 additions and 347 deletions
28
modules/desktop-environment/home/compositing.nix
Normal file
28
modules/desktop-environment/home/compositing.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{...}: {
|
||||
services.picom = {
|
||||
enable = true;
|
||||
backend = "glx";
|
||||
|
||||
shadow = true;
|
||||
shadowOffsets = [(-40) (-30)];
|
||||
shadowOpacity = 0.2;
|
||||
shadowExclude = [
|
||||
"class_g ?= 'Notify-osd'"
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
"!(class_g = 'Rofi' || class_g = 'Dunst')"
|
||||
];
|
||||
|
||||
vSync = true;
|
||||
settings = {
|
||||
"shadow-radius" = 40;
|
||||
# fading rofi
|
||||
"fading" = true;
|
||||
"fade-in-step" = 0.25;
|
||||
"fade-out-step" = 0.2;
|
||||
"fade-delta" = 20;
|
||||
"fade-exclude" = ["class_g != 'Rofi'"];
|
||||
# use damage information
|
||||
"use-damage" = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue