mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
More documentation for Clocks, OpsGenie, and Todo.
This commit is contained in:
parent
40ca748b8d
commit
694490b0ca
@ -53,12 +53,12 @@ clocks:
|
|||||||
### Attributes
|
### Attributes
|
||||||
|
|
||||||
`colors.rows.even` <br />
|
`colors.rows.even` <br />
|
||||||
Define the foreground color for even-numbered rows. <br />
|
The foreground color for even-numbered rows. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
||||||
color name</a>.
|
color name</a>.
|
||||||
|
|
||||||
`colors.rows.odd` <br />
|
`colors.rows.odd` <br />
|
||||||
Define the foreground color for the odd-numbered rows. <br />
|
The foreground color for the odd-numbered rows. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
||||||
color name</a>.
|
color name</a>.
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ None.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
opsgenie:
|
opsgenie:
|
||||||
|
displayEmpty: false
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 2
|
top: 2
|
||||||
@ -42,12 +43,16 @@ opsgenie:
|
|||||||
|
|
||||||
### Attributes
|
### Attributes
|
||||||
|
|
||||||
|
`displayEmpty` <br />
|
||||||
|
Whether schedules with no assigned person on-call should be displayed. <br />
|
||||||
|
Values: `true`, `false`.
|
||||||
|
|
||||||
`enabled` <br />
|
`enabled` <br />
|
||||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
Whether or not this module is executed and if its data displayed onscreen. <br />
|
||||||
Values: `true`, `false`.
|
Values: `true`, `false`.
|
||||||
|
|
||||||
`position` <br />
|
`position` <br />
|
||||||
Defines where in the grid this module's widget will be displayed. <br />
|
Where in the grid this module's widget will be displayed. <br />
|
||||||
|
|
||||||
`refreshInterval` <br />
|
`refreshInterval` <br />
|
||||||
How often, in seconds, this module will update its data. <br />
|
How often, in seconds, this module will update its data. <br />
|
||||||
|
@ -94,9 +94,11 @@ Values: Any displayable unicode character.
|
|||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.
|
||||||
|
|
||||||
`colors.highlight.fore` <br />
|
`colors.highlight.fore` <br />
|
||||||
|
The foreground color for the currently-selected row. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.
|
||||||
|
|
||||||
`colors.highlight.back` <br />
|
`colors.highlight.back` <br />
|
||||||
|
The background color for the currently-selected row. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.
|
||||||
|
|
||||||
`enabled` <br />
|
`enabled` <br />
|
||||||
@ -105,8 +107,6 @@ Values: `true`, `false`.
|
|||||||
|
|
||||||
`filename` <br />
|
`filename` <br />
|
||||||
The name for the todo file. <br />
|
The name for the todo file. <br />
|
||||||
*Note:* Currently this file *must* reside in the `~/.wtf/` directory.
|
|
||||||
This is a <a href="https://github.com/senorprogrammer/wtf/issues/35">known bug</a>. <br />
|
|
||||||
Values: Any valid filename, ideally ending in `yml`.
|
Values: Any valid filename, ideally ending in `yml`.
|
||||||
|
|
||||||
`position` <br />
|
`position` <br />
|
||||||
|
@ -135,8 +135,9 @@ deployCount The number of past deploys to display on screen.</description>
|
|||||||
<description>Description Connects to the OpsGenie API and displays all your scheduled rotations and who&rsquo;s currently on call.
|
<description>Description Connects to the OpsGenie API and displays all your scheduled rotations and who&rsquo;s currently on call.
|
||||||
Source Code wtf/opsgenie/ Required ENV Variables Key: WTF_OPS_GENIE_API_KEY Value: Your OpsGenie API token.
|
Source Code wtf/opsgenie/ Required ENV Variables Key: WTF_OPS_GENIE_API_KEY Value: Your OpsGenie API token.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration opsgenie:enabled:trueposition:top:2left:1height:2width:1refreshInterval:21600 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
Configuration opsgenie:displayEmpty:falseenabled:trueposition:top:2left:1height:2width:1refreshInterval:21600 Attributes displayEmpty Whether schedules with no assigned person on-call should be displayed. Values: true, false.
|
||||||
position Defines where in the grid this module&rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data.</description>
|
enabled Whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||||
|
position Where in the grid this module&rsquo;s widget will be displayed.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
@ -172,8 +173,8 @@ position Defines where in the grid this module&rsquo;s widget will be displa
|
|||||||
<description>Description Displays a configurable list of world clocks, the local time, and date.
|
<description>Description Displays a configurable list of world clocks, the local time, and date.
|
||||||
Source Code wtf/clocks/ Required ENV Variables None.
|
Source Code wtf/clocks/ Required ENV Variables None.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration clocks:colors:rows:even:&#34;lightblue&#34;odd:&#34;white&#34;enabled:truelocations:# From https://en.wikipedia.org/wiki/List_of_tz_database_time_zonesAvignon:&#34;Europe/Paris&#34;Barcelona:&#34;Europe/Madrid&#34;Dubai:&#34;Asia/Dubai&#34;UTC:&#34;Etc/UTC&#34;Vancouver:&#34;America/Vancouver&#34;Toronto:&#34;America/Toronto&#34;position:top:4left:0height:1width:1refreshInterval:15# Valid options are: alphabetical, chronologicalsort:&#34;alphabetical&#34; Attributes colors.rows.even Define the foreground color for even-numbered rows. Values: Any X11 color name.
|
Configuration clocks:colors:rows:even:&#34;lightblue&#34;odd:&#34;white&#34;enabled:truelocations:# From https://en.wikipedia.org/wiki/List_of_tz_database_time_zonesAvignon:&#34;Europe/Paris&#34;Barcelona:&#34;Europe/Madrid&#34;Dubai:&#34;Asia/Dubai&#34;UTC:&#34;Etc/UTC&#34;Vancouver:&#34;America/Vancouver&#34;Toronto:&#34;America/Toronto&#34;position:top:4left:0height:1width:1refreshInterval:15# Valid options are: alphabetical, chronologicalsort:&#34;alphabetical&#34; Attributes colors.rows.even The foreground color for even-numbered rows. Values: Any X11 color name.
|
||||||
colors.rows.odd Define the foreground color for the odd-numbered rows. Values: Any X11 color name.
|
colors.rows.odd The foreground color for the odd-numbered rows. Values: Any X11 color name.
|
||||||
enabled Determines whether or not this module is executed and if its data displayed onscreen.</description>
|
enabled Determines whether or not this module is executed and if its data displayed onscreen.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -135,8 +135,9 @@ deployCount The number of past deploys to display on screen.</description>
|
|||||||
<description>Description Connects to the OpsGenie API and displays all your scheduled rotations and who&rsquo;s currently on call.
|
<description>Description Connects to the OpsGenie API and displays all your scheduled rotations and who&rsquo;s currently on call.
|
||||||
Source Code wtf/opsgenie/ Required ENV Variables Key: WTF_OPS_GENIE_API_KEY Value: Your OpsGenie API token.
|
Source Code wtf/opsgenie/ Required ENV Variables Key: WTF_OPS_GENIE_API_KEY Value: Your OpsGenie API token.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration opsgenie:enabled:trueposition:top:2left:1height:2width:1refreshInterval:21600 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
Configuration opsgenie:displayEmpty:falseenabled:trueposition:top:2left:1height:2width:1refreshInterval:21600 Attributes displayEmpty Whether schedules with no assigned person on-call should be displayed. Values: true, false.
|
||||||
position Defines where in the grid this module&rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data.</description>
|
enabled Whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||||
|
position Where in the grid this module&rsquo;s widget will be displayed.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
@ -172,8 +173,8 @@ position Defines where in the grid this module&rsquo;s widget will be displa
|
|||||||
<description>Description Displays a configurable list of world clocks, the local time, and date.
|
<description>Description Displays a configurable list of world clocks, the local time, and date.
|
||||||
Source Code wtf/clocks/ Required ENV Variables None.
|
Source Code wtf/clocks/ Required ENV Variables None.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration clocks:colors:rows:even:&#34;lightblue&#34;odd:&#34;white&#34;enabled:truelocations:# From https://en.wikipedia.org/wiki/List_of_tz_database_time_zonesAvignon:&#34;Europe/Paris&#34;Barcelona:&#34;Europe/Madrid&#34;Dubai:&#34;Asia/Dubai&#34;UTC:&#34;Etc/UTC&#34;Vancouver:&#34;America/Vancouver&#34;Toronto:&#34;America/Toronto&#34;position:top:4left:0height:1width:1refreshInterval:15# Valid options are: alphabetical, chronologicalsort:&#34;alphabetical&#34; Attributes colors.rows.even Define the foreground color for even-numbered rows. Values: Any X11 color name.
|
Configuration clocks:colors:rows:even:&#34;lightblue&#34;odd:&#34;white&#34;enabled:truelocations:# From https://en.wikipedia.org/wiki/List_of_tz_database_time_zonesAvignon:&#34;Europe/Paris&#34;Barcelona:&#34;Europe/Madrid&#34;Dubai:&#34;Asia/Dubai&#34;UTC:&#34;Etc/UTC&#34;Vancouver:&#34;America/Vancouver&#34;Toronto:&#34;America/Toronto&#34;position:top:4left:0height:1width:1refreshInterval:15# Valid options are: alphabetical, chronologicalsort:&#34;alphabetical&#34; Attributes colors.rows.even The foreground color for even-numbered rows. Values: Any X11 color name.
|
||||||
colors.rows.odd Define the foreground color for the odd-numbered rows. Values: Any X11 color name.
|
colors.rows.odd The foreground color for the odd-numbered rows. Values: Any X11 color name.
|
||||||
enabled Determines whether or not this module is executed and if its data displayed onscreen.</description>
|
enabled Determines whether or not this module is executed and if its data displayed onscreen.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -148,12 +148,12 @@
|
|||||||
<h3 id="attributes">Attributes</h3>
|
<h3 id="attributes">Attributes</h3>
|
||||||
|
|
||||||
<p><code>colors.rows.even</code> <br />
|
<p><code>colors.rows.even</code> <br />
|
||||||
Define the foreground color for even-numbered rows. <br />
|
The foreground color for even-numbered rows. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
||||||
color name</a>.</p>
|
color name</a>.</p>
|
||||||
|
|
||||||
<p><code>colors.rows.odd</code> <br />
|
<p><code>colors.rows.odd</code> <br />
|
||||||
Define the foreground color for the odd-numbered rows. <br />
|
The foreground color for the odd-numbered rows. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
|
||||||
color name</a>.</p>
|
color name</a>.</p>
|
||||||
|
|
||||||
|
@ -127,6 +127,7 @@ API</a> token.</p>
|
|||||||
|
|
||||||
<h2 id="configuration">Configuration</h2>
|
<h2 id="configuration">Configuration</h2>
|
||||||
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">opsgenie<span class="p">:</span><span class="w">
|
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">opsgenie<span class="p">:</span><span class="w">
|
||||||
|
</span><span class="w"> </span>displayEmpty<span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
||||||
</span><span class="w"> </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
</span><span class="w"> </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
||||||
</span><span class="w"> </span>position<span class="p">:</span><span class="w">
|
</span><span class="w"> </span>position<span class="p">:</span><span class="w">
|
||||||
</span><span class="w"> </span>top<span class="p">:</span><span class="w"> </span><span class="m">2</span><span class="w">
|
</span><span class="w"> </span>top<span class="p">:</span><span class="w"> </span><span class="m">2</span><span class="w">
|
||||||
@ -136,12 +137,16 @@ API</a> token.</p>
|
|||||||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">21600</span></code></pre></div>
|
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">21600</span></code></pre></div>
|
||||||
<h3 id="attributes">Attributes</h3>
|
<h3 id="attributes">Attributes</h3>
|
||||||
|
|
||||||
|
<p><code>displayEmpty</code> <br />
|
||||||
|
Whether schedules with no assigned person on-call should be displayed. <br />
|
||||||
|
Values: <code>true</code>, <code>false</code>.</p>
|
||||||
|
|
||||||
<p><code>enabled</code> <br />
|
<p><code>enabled</code> <br />
|
||||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
Whether or not this module is executed and if its data displayed onscreen. <br />
|
||||||
Values: <code>true</code>, <code>false</code>.</p>
|
Values: <code>true</code>, <code>false</code>.</p>
|
||||||
|
|
||||||
<p><code>position</code> <br />
|
<p><code>position</code> <br />
|
||||||
Defines where in the grid this module’s widget will be displayed. <br /></p>
|
Where in the grid this module’s widget will be displayed. <br /></p>
|
||||||
|
|
||||||
<p><code>refreshInterval</code> <br />
|
<p><code>refreshInterval</code> <br />
|
||||||
How often, in seconds, this module will update its data. <br />
|
How often, in seconds, this module will update its data. <br />
|
||||||
|
@ -188,9 +188,11 @@ Values: Any displayable unicode character.</p>
|
|||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.</p>
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.</p>
|
||||||
|
|
||||||
<p><code>colors.highlight.fore</code> <br />
|
<p><code>colors.highlight.fore</code> <br />
|
||||||
|
The foreground color for the currently-selected row. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.</p>
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.</p>
|
||||||
|
|
||||||
<p><code>colors.highlight.back</code> <br />
|
<p><code>colors.highlight.back</code> <br />
|
||||||
|
The background color for the currently-selected row. <br />
|
||||||
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.</p>
|
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 color</a> name.</p>
|
||||||
|
|
||||||
<p><code>enabled</code> <br />
|
<p><code>enabled</code> <br />
|
||||||
@ -199,8 +201,6 @@ Values: <code>true</code>, <code>false</code>.</p>
|
|||||||
|
|
||||||
<p><code>filename</code> <br />
|
<p><code>filename</code> <br />
|
||||||
The name for the todo file. <br />
|
The name for the todo file. <br />
|
||||||
<em>Note:</em> Currently this file <em>must</em> reside in the <code>~/.wtf/</code> directory.
|
|
||||||
This is a <a href="https://github.com/senorprogrammer/wtf/issues/35">known bug</a>. <br />
|
|
||||||
Values: Any valid filename, ideally ending in <code>yml</code>.</p>
|
Values: Any valid filename, ideally ending in <code>yml</code>.</p>
|
||||||
|
|
||||||
<p><code>position</code> <br />
|
<p><code>position</code> <br />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user