Declared hypridle config

This commit is contained in:
TypoMustakes
2026-04-08 14:33:45 +02:00
parent 2382202e13
commit 2a212593f9
2 changed files with 26 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
{
services.hypridle = {
enable = true;
settings = {
general = {
inhibit_sleep = 3;
};
listener = [
{
timeout = 300;
on-timeout = "pidof hyprlock || hyprlock";
}
{
timeout = 900;
on-timeout = "systemctl suspend";
}
];
};
};
}