--- title: "Configuration: Attributes" date: 2018-05-16T21:51:23-07:00 draft: false --- The following top-level attributes are configurable in `config.yml`. See this example config file for more details. ```yaml wtf: colors: border: Focusable: "darkslateblue" focused: "orange" normal: "gray" grid: # How _wide_ the columns are, in terminal characters. In this case we have # six columns, each of which are 35 characters wide columns: [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 four rows: [10, 10, 10, 10, 10, 3, 4] # The app redraws itself once a second refreshInterval: 1 ``` ### Attributes `colors.border.focusable`
The color in which to draw the border of widgets that can accept keyboard focus.
Values: Any X11 color name. `colors.border.focused`
The color in which to draw the border of the widget that currently has keyboard focus.
Values: Any X11 color name. `colors.border.normal`
The color in which to draw the borders of the widgets that cannot accept focus.
Values: Any X11 color name. `grid.columns`
An array that defines the widths of all the columns.
Values: See tview's Grid for details. `grid.rows`
An array that defines the heights of all the rows.
Values: See tview's Grid for details. `refreshInterval`
How often, in seconds, the UI refreshes itself.
**Note:** This implementation is probably wrong and buggy and likely to change.
Values: A positive integer, `0..n`.