1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Regenerated the site

This commit is contained in:
Chris Cummer
2018-08-14 09:21:41 -07:00
parent 197a908f52
commit a0d428cb92
10 changed files with 513 additions and 31 deletions

View File

@@ -5,6 +5,8 @@ draft: false
weight: 0
---
<h1><span style="font-family: monospace; font-weight: heavy;">WTF</span></h1>
<img src='/imgs/screenshot.jpg' width="900" height="524" />
<span style="font-family: monospace; font-size: 1.6em;">WTF</span> is a personal information dashboard for your terminal, developed for those who spend most of their day in the command line.

View File

@@ -8,7 +8,9 @@ weight: 5
## Index
* [Configuration Files](#configuration-files)
* [Environment (ENV) Variables](#environment-env-variables)
* [Example Configuration Files](#example-configuration-files)
* [Custom Configuration Files](#custom-configuration-files)
* [Configuration Attributes](#configuration-attributes)
* [Grid Layout](#grid-layout)
## Configuration Files
@@ -49,16 +51,6 @@ parameter on launch:
A number of top-level attributes can be set to customize your WTF
install. See <a href="/posts/configuration/attributes/">Attributes</a> for details.
## Environment (ENV) Variables
Some modules require the presence of environment variables to function
properly. Usually these are API keys or other sensitive data that one
wouldn't want to have laying about in the config files.
For modules that require them, the name of the required environment
variable(s) can be found in that module's "Required ENV Variables"
section of the documentation. See <a href="/posts/modules/opsgenie/">OpsGenie</a> for an example.
## Grid Layout
WTF uses the `Grid` layout system from [tview](https://github.com/rivo/tview/blob/master/grid.go) to position widgets
@@ -80,8 +72,8 @@ Rows break up the height of the screen into chunks, each chunk a specified numbe
The co-ordinate system starts at top-left and defines how wide and tall a widget is. If we wanted to put a 2-col, 2-row widget in the bottom of the screen, we'd position it at:
```
top: 4 // top starts in the 4th row
left: 9 // left starts in the 9th column
top: 4 // top starts in the 4th row
left: 9 // left starts in the 9th column
height: 2 // span down rows 4 & 5 (18 characters in size, total)
width: 2 // span across cols 9 & 10 (20 characters in size, total)
width: 2 // span across cols 9 & 10 (20 characters in size, total)
```