Add swaylock
suspend event
This commit is contained in:
parent
adaa788a94
commit
c9bb595156
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue