1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29:48 +01:00
This commit is contained in:
rycee 2024-01-01 09:37:06 +00:00
parent 0befc7823e
commit fe65cf0017

View file

@ -23920,6 +23920,105 @@ JSON value</p>
</td></tr> </td></tr>
</table> </table>
</dd> </dd>
<dt>
<span class="term">
<a id="opt-programs.i3blocks.enable"></a><a class="term" href="options.xhtml#opt-programs.i3blocks.enable"><code class="option">programs.i3blocks.enable</code>
</a>
</span>
</dt>
<dd>
<p>Whether to enable i3blocks i3 status command scheduler.</p>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">false</code></p>
<p><span class="emphasis"><em>Example:</em></span>
<code class="literal">true</code></p>
<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/programs/i3blocks.nix" target="_top">
&lt;home-manager/modules/programs/i3blocks.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.i3blocks.package"></a><a class="term" href="options.xhtml#opt-programs.i3blocks.package"><code class="option">programs.i3blocks.package</code>
</a>
</span>
</dt>
<dd>
<p>Package providing <span class="command"><strong>i3blocks</strong></span>.</p>
<p><span class="emphasis"><em>Type:</em></span>
package</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">pkgs.i3blocks</code></p>
<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/programs/i3blocks.nix" target="_top">
&lt;home-manager/modules/programs/i3blocks.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.i3blocks.bars"></a><a class="term" href="options.xhtml#opt-programs.i3blocks.bars"><code class="option">programs.i3blocks.bars</code>
</a>
</span>
</dt>
<dd>
<p>Configuration written to i3blocks config</p>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of (DAG of attribute set of (INI atom (null, int, bool, string, or float)))</p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
top = {
# The title block
title = {
interval = &quot;persist&quot;;
command = &quot;xtitle -s&quot;;
};
};
bottom = {
time = {
command = &quot;date +%r&quot;;
interval = 1;
};
# Make sure this block comes after the time block
date = lib.hm.dag.entryAfter [ &quot;time&quot; ] {
command = &quot;date +%d&quot;;
interval = 5;
};
# And this block after the example block
example = lib.hm.dag.entryAfter [ &quot;date&quot; ] {
command = &quot;echo hi $(date +%s)&quot;;
interval = 3;
};
};
}
</code></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/programs/i3blocks.nix" target="_top">
&lt;home-manager/modules/programs/i3blocks.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt> <dt>
<span class="term"> <span class="term">
<a id="opt-programs.i3status.enable"></a><a class="term" href="options.xhtml#opt-programs.i3status.enable"><code class="option">programs.i3status.enable</code> <a id="opt-programs.i3status.enable"></a><a class="term" href="options.xhtml#opt-programs.i3status.enable"><code class="option">programs.i3status.enable</code>