Add swaylock suspend event

This commit is contained in:
Andrea Ciceri 2023-12-12 13:12:27 +01:00
parent adaa788a94
commit c9bb595156
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -43,7 +43,7 @@
}
{
event = "lock";
command = "lock";
command = swaylockCommand;
}
];
timeouts = [
@ -51,6 +51,10 @@
timeout = 600;
command = swaylockCommand;
}
{
timeout = 720;
command = "${pkgs.systemd}/bin/systemctl suspend";
}
];
};