add picom config
This commit is contained in:
parent
a6be515925
commit
e15777ab93
|
@ -10,10 +10,10 @@
|
|||
./i3.nix
|
||||
./polybar.nix
|
||||
./startx.nix
|
||||
./picom.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
picom.enable = true;
|
||||
dunst.enable = true;
|
||||
betterlockscreen.enable = true;
|
||||
};
|
||||
|
|
42
home/platforms/fabian@posixlycorrect/gui/picom.nix
Normal file
42
home/platforms/fabian@posixlycorrect/gui/picom.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.picom = {
|
||||
enable = true;
|
||||
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…
Reference in a new issue