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 = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
events = [
|
events = [
|
||||||
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
|
{ event = "before-sleep"; command = "swaylock"; }
|
||||||
|
];
|
||||||
|
timeouts = [
|
||||||
|
{ timeout = 5; command = "swaylock"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue