another one :D

This commit is contained in:
cnst
2024-08-03 14:49:44 +02:00
parent e1f070d81a
commit ae9ee0cb35
98 changed files with 60 additions and 53 deletions

View File

@@ -0,0 +1,24 @@
{
services.hypridle = {
enable = true;
settings = {
general = {
lock_cmd = "hyprlock";
before_sleep_cmd = "$lock_cmd";
after_sleep_cmd = "hyprctl dispatch dpms on";
};
listener = [
{
timeout = 900; # 15mins
on-timeout = "hyprlock";
}
{
timeout = 1200; # 20mins
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
];
};
};
}