diff --git a/options.html b/options.html index d28976136..e51adce54 100644 --- a/options.html +++ b/options.html @@ -15132,7 +15132,7 @@ package

Default:

services.swayidle.events

Run command on occurrence of a event.

Type: list of (submodule)

Default: [ ]

Example:

[
-  { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
+  { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
   { event = "lock"; command = "lock"; }
 ]
 
@@ -15157,6 +15157,7 @@ string

Default: list of (submodule)

Default: [ ]

Example:

[
   { timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
+  { timeout = 90; command = "${pkgs.systemd}/bin/systemctl suspend"; }
 ]
 
 

Declared by: