mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
deploy: 6e91c5df19
This commit is contained in:
parent
0befc7823e
commit
fe65cf0017
1 changed files with 99 additions and 0 deletions
|
@ -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">
|
||||||
|
<home-manager/modules/programs/i3blocks.nix>
|
||||||
|
</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">
|
||||||
|
<home-manager/modules/programs/i3blocks.nix>
|
||||||
|
</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 = "persist";
|
||||||
|
command = "xtitle -s";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
bottom = {
|
||||||
|
time = {
|
||||||
|
command = "date +%r";
|
||||||
|
interval = 1;
|
||||||
|
};
|
||||||
|
# Make sure this block comes after the time block
|
||||||
|
date = lib.hm.dag.entryAfter [ "time" ] {
|
||||||
|
command = "date +%d";
|
||||||
|
interval = 5;
|
||||||
|
};
|
||||||
|
# And this block after the example block
|
||||||
|
example = lib.hm.dag.entryAfter [ "date" ] {
|
||||||
|
command = "echo hi $(date +%s)";
|
||||||
|
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">
|
||||||
|
<home-manager/modules/programs/i3blocks.nix>
|
||||||
|
</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>
|
||||||
|
|
Loading…
Reference in a new issue