1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02:00
This commit is contained in:
rycee 2023-12-01 12:27:23 +00:00
parent 84909e5b42
commit eb85d4660a

View file

@ -15132,7 +15132,7 @@ package</p><p><span class="emphasis"><em>Default:</em></span>
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.swayidle.events"></a><a class="term" href="options.html#opt-services.swayidle.events"><code class="option">services.swayidle.events</code></a></span></dt><dd><p>Run command on occurrence of a event.</p><p><span class="emphasis"><em>Type:</em></span>
list of (submodule)</p><p><span class="emphasis"><em>Default:</em></span>
<code class="literal">[ ]</code></p><p><span class="emphasis"><em>Example:</em></span></p><pre class="programlisting">[
{ 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</p><p><span class="emphasis"><em>Default:</em></span>
list of (submodule)</p><p><span class="emphasis"><em>Default:</em></span>
<code class="literal">[ ]</code></p><p><span class="emphasis"><em>Example:</em></span></p><pre class="programlisting">[
{ timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
{ timeout = 90; command = "${pkgs.systemd}/bin/systemctl suspend"; }
]
</pre><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/services/swayidle.nix" target="_top">