sway: Add lock even to swayidle config

This commit is contained in:
Erwin Boskma 2023-10-06 14:26:16 +02:00
parent 1442f4bcdc
commit 93a4599fcc
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -304,6 +304,14 @@ in
services = {
swayidle = {
enable = true;
events = {
lock = [
{
name = "lock";
command = "lock";
}
];
};
timeouts = [
{
timeout = 900;