This commit is contained in:
rycee 2024-07-27 08:11:24 +00:00
parent f6fae09924
commit e9e23d44b2

View file

@ -32363,6 +32363,52 @@ one of “emacs”, “vim”</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">&quot;emacs&quot;</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/mcfly.nix" target="_top">
&lt;home-manager/modules/programs/mcfly.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.mcfly.settings"></a><a class="term" href="options.xhtml#opt-programs.mcfly.settings"><code class="option">programs.mcfly.settings</code>
</a>
</span>
</dt>
<dd>
<p>Settings written to <code class="filename">~/.config/mcfly/config.toml</code>.</p><p>Note, if your McFly database is currently in <code class="filename">~/.mcfly</code>,
then this option has no effect.
Move the database to <code class="filename">$XDG_DATA_DIR/mcfly/history.db</code> and
remove <code class="filename">~/.mcfly</code> to make the settings take effect. See
<a class="link" href="https://github.com/cantino/mcfly#database-location" target="_top">https://github.com/cantino/mcfly#database-location</a>.</p>
<p><span class="emphasis"><em>Type:</em></span>
TOML value</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">{ }</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
colors = {
menubar = {
bg = &quot;black&quot;;
fg = &quot;red&quot;;
};
darkmode = {
prompt = &quot;cyan&quot;;
timing = &quot;yellow&quot;;
results_selection_fg = &quot;cyan&quot;;
results_selection_bg = &quot;black&quot;;
results_selection_hl = &quot;red&quot;;
};
};
}
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>