forked from fabian/nix_config
modularize gui
This commit is contained in:
parent
61eb9ed8c5
commit
bcd049b8c5
13 changed files with 202 additions and 89 deletions
41
home/modules/gui/picom.nix
Normal file
41
home/modules/gui/picom.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.picom = {
|
||||
fade = true;
|
||||
fadeSteps = [0.1 0.1];
|
||||
fadeDelta = 10;
|
||||
settings = {
|
||||
animations = [
|
||||
{
|
||||
triggers = [
|
||||
"open"
|
||||
"show"
|
||||
];
|
||||
|
||||
preset = "appear";
|
||||
duration = "1";
|
||||
}
|
||||
{
|
||||
triggers = [
|
||||
"close"
|
||||
"hide"
|
||||
];
|
||||
|
||||
preset = "disappear";
|
||||
duration = "1";
|
||||
}
|
||||
{
|
||||
triggers = [
|
||||
"geometry"
|
||||
];
|
||||
preset = "geometry-change";
|
||||
duration = "1";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue