This commit is contained in:
Hadi
2024-06-17 13:47:13 +02:00
parent b22d2f596f
commit d169306a68
4 changed files with 34 additions and 25 deletions

View File

@@ -4,18 +4,18 @@
enable = true;
settings = {
general = { ignore_dbus_inhibit = false; };
listener = [
{
timeout = 600;
on-timeout = pkgs.hyprlock + "/bin/hyprlock";
}
{
timeout = 660;
on-timeout = "systemctl suspend";
on-resume = pkgs.libnotify
+ "/bin/notify-send 'Welcome back to your desktop!'";
}
];
listener = [{
timeout = 600;
on-timeout = pkgs.hyprlock + "/bin/hyprlock";
}
# FIXME
# {
# timeout = 660;
# on-timeout = "systemctl suspend";
# on-resume = pkgs.libnotify
# + "/bin/notify-send 'Welcome back to your desktop!'";
# }
];
};
};
}