some testing, doesn't seem to work
This commit is contained in:
parent
a23a94571e
commit
47084bde93
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,10 @@
|
|||
services.swayidle = {
|
||||
enable = true;
|
||||
events = [
|
||||
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
|
||||
{ event = "before-sleep"; command = "swaylock"; }
|
||||
];
|
||||
timeouts = [
|
||||
{ timeout = 5; command = "swaylock"; }
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue