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 = { services = {
swayidle = { swayidle = {
enable = true; enable = true;
events = {
lock = [
{
name = "lock";
command = "lock";
}
];
};
timeouts = [ timeouts = [
{ {
timeout = 900; timeout = 900;