nix/home/hypridle/default.nix
2024-08-09 20:58:10 +02:00

16 lines
288 B
Nix

{ ... }:
{
services.hypridle = {
enable = true;
settings = {
listener = [
{
timeout = 300;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
];
};
};
}