▄ ▄ (._. )
█ ▄ █ █▀█ █▀▄█ █ █ █ █
█▀ ▀█ █▄█ █ █ █▀▄ █
Conkys weird terminal cousin
Monitor and display various things by reading stdout from
scripts or programs. Have a look at the example.toml to
get started!
## Installation
cargo install wonky
Currently has 3 component types, indicator, meter and separator.
## Meter ### Basic usage: ```toml [[widgets]] # Type of widget type = "Meter" title = "I rate"
# Unit of messurement
unit = " m8"
# Themes for now:
# 0 ▀▀▀▀▀▀▀▀▀▀
# 1 [====----]
theme = 0
# Text to the left of the bar
# prefix = "something"
# Display reading and title above the bar
# either of these will cause the meter to
# take up two vertical spaces.
reading = true
# Hide the meter
meter = true
max_command = ["echo", "8"]
value_command = ["echo", "8"]
# How often component should be updated in seconds
frequency = 60
# Horizontal alignment
right = false
# Vertical alignment
bottom = false
```
### Bash script: ```toml [[widgets]] type = "Meter" title = "" unit = "c" theme = 1
prefix = "cputemp"
reading = true
meter = true
max_command = ["bash", "~/scripts/cputemp", "max"]
value_command = ["bash", "~/scripts/cputemp"]
frequency = 60
right = false
bottom = false
## Indicator
### Basic usage:
toml
[[widgets]]
type = "Indicator"
title = " Server is running "
# Indicator output is parsed with comma-separation:
# [foreground-color],[background-color],[string]
command = ["echo", "100,88, Alert! Alert! D:"]
frequency = 1
right = false
bottom = false
```