mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Close #84. Add wtf.colors.background config option
This commit is contained in:
@@ -82,7 +82,7 @@ cmd The terminal command to be run, withouth the arguments. Ie: ping, whoami, cu
|
||||
|
||||
<guid>https://wtfutil.com/posts/configuration/attributes/</guid>
|
||||
<description>The following top-level attributes are configurable in config.yml. See this example config file for more details.
|
||||
wtf:colors:border:Focusable:&#34;darkslateblue&#34;focused:&#34;orange&#34;normal:&#34;gray&#34;grid:# How _wide_ the columns are, in terminal characters. In this case we have# six columns, each of which are 35 characters widecolumns:[35,35,35,35,35,35]# How _high_ the rows are, in terminal lines. In this case we have five rows# that support ten line of text, one of three lines, and one of fourrows:[10,10,10,10,10,3,4]# The app redraws itself once a secondrefreshInterval:1 Attributes colors.</description>
|
||||
wtf:colors:background:&#34;red&#34;border:Focusable:&#34;darkslateblue&#34;focused:&#34;orange&#34;normal:&#34;gray&#34;grid:# How _wide_ the columns are, in terminal characters. In this case we have# six columns, each of which are 35 characters widecolumns:[35,35,35,35,35,35]# How _high_ the rows are, in terminal lines. In this case we have five rows# that support ten line of text, one of three lines, and one of fourrows:[10,10,10,10,10,3,4]# The app redraws itself once a secondrefreshInterval:1 Attributes colors.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
See this <a href="https://github.com/senorprogrammer/wtf/blob/master/_sample_configs/simple_config.yml">example config file</a> for more details.</p>
|
||||
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">wtf<span class="p">:</span><span class="w">
|
||||
</span><span class="w"> </span>colors<span class="p">:</span><span class="w">
|
||||
</span><span class="w"> </span>background<span class="p">:</span><span class="w"> </span><span class="s2">"red"</span><span class="w">
|
||||
</span><span class="w"> </span>border<span class="p">:</span><span class="w">
|
||||
</span><span class="w"> </span>Focusable<span class="p">:</span><span class="w"> </span><span class="s2">"darkslateblue"</span><span class="w">
|
||||
</span><span class="w"> </span>focused<span class="p">:</span><span class="w"> </span><span class="s2">"orange"</span><span class="w">
|
||||
@@ -129,6 +130,13 @@ See this <a href="https://github.com/senorprogrammer/wtf/blob/master/_sample_con
|
||||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">1</span></code></pre></div>
|
||||
<h3 id="attributes">Attributes</h3>
|
||||
|
||||
<p><code>colors.background</code> <br />
|
||||
The color to draw the background of the app in. Use this to match your
|
||||
terminal colors. May be over-written by individual module
|
||||
configurations. <br />
|
||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
||||
color name</a>.</p>
|
||||
|
||||
<p><code>colors.border.focusable</code> <br />
|
||||
The color in which to draw the border of widgets that can accept
|
||||
keyboard focus. <br />
|
||||
|
||||
@@ -82,7 +82,7 @@ cmd The terminal command to be run, withouth the arguments. Ie: ping, whoami, cu
|
||||
|
||||
<guid>https://wtfutil.com/posts/configuration/attributes/</guid>
|
||||
<description>The following top-level attributes are configurable in config.yml. See this example config file for more details.
|
||||
wtf:colors:border:Focusable:&#34;darkslateblue&#34;focused:&#34;orange&#34;normal:&#34;gray&#34;grid:# How _wide_ the columns are, in terminal characters. In this case we have# six columns, each of which are 35 characters widecolumns:[35,35,35,35,35,35]# How _high_ the rows are, in terminal lines. In this case we have five rows# that support ten line of text, one of three lines, and one of fourrows:[10,10,10,10,10,3,4]# The app redraws itself once a secondrefreshInterval:1 Attributes colors.</description>
|
||||
wtf:colors:background:&#34;red&#34;border:Focusable:&#34;darkslateblue&#34;focused:&#34;orange&#34;normal:&#34;gray&#34;grid:# How _wide_ the columns are, in terminal characters. In this case we have# six columns, each of which are 35 characters widecolumns:[35,35,35,35,35,35]# How _high_ the rows are, in terminal lines. In this case we have five rows# that support ten line of text, one of three lines, and one of fourrows:[10,10,10,10,10,3,4]# The app redraws itself once a secondrefreshInterval:1 Attributes colors.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
||||
Reference in New Issue
Block a user