fuji/home-manager: update swayidle syntax

This commit is contained in:
2026-05-31 11:44:14 +02:00
parent 7dec24203b
commit dfd2573cb2

View File

@@ -286,22 +286,13 @@ in
*/ */
{ {
enable = true; enable = true;
events = [ events = {
{ before-sleep = "${locker}/bin/swaylock_fancy";
event = "before-sleep"; lock = "${locker}/bin/swaylock_fancy";
command = "${locker}/bin/swaylock_fancy";
}
{
event = "lock";
command = "${locker}/bin/swaylock_fancy";
}
/* /*
{ after-resume = "${refresh_i3status}/bin/refresh_i3status";
event = "after-resume";
command = "${refresh_i3status}/bin/refresh_i3status";
}
*/ */
]; };
timeouts = [ timeouts = [
{ {
timeout = 15 * 60; timeout = 15 * 60;