mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +01:00
deploy: 4a8545f5e7
This commit is contained in:
parent
84909e5b42
commit
eb85d4660a
1 changed files with 2 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue