dotfiles/home/modules/gui/desktop/hypr/hypridle/config/settings.nix
2025-02-02 22:55:38 -06:00

19 lines
346 B
Nix
Executable file

{
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "swaylock";
};
listener = [
{
timeout = 900;
on-timeout = "swaylock";
}
{
timeout = 1800;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
];
}