Hypridle configuration written in Nix. Entries with the same key should be written as lists. Variables' and colors' names should be quoted. See https://wiki.hypr.land/Hypr-Ecosystem/hypridle/ for more examples.
Declarations
Type
Hypridle configuration valueDefault
{ }Example
{
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
};
listener = [
{
on-timeout = "hyprlock";
timeout = 900;
}
{
on-resume = "hyprctl dispatch dpms on";
on-timeout = "hyprctl dispatch dpms off";
timeout = 1200;
}
];
}