sway: Add lock even to swayidle config
This commit is contained in:
parent
1442f4bcdc
commit
93a4599fcc
1 changed files with 8 additions and 0 deletions
|
@ -304,6 +304,14 @@ in
|
|||
services = {
|
||||
swayidle = {
|
||||
enable = true;
|
||||
events = {
|
||||
lock = [
|
||||
{
|
||||
name = "lock";
|
||||
command = "lock";
|
||||
}
|
||||
];
|
||||
};
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 900;
|
||||
|
|
Loading…
Reference in a new issue