21 lines
539 B
Markdown
21 lines
539 B
Markdown
# cclock
|
|
#### Simply C program to display the time and temperature without too much fuss, made for home use.
|
|
|
|
Current the only dependencies are:
|
|
```
|
|
gcc
|
|
libncurses
|
|
libcurl
|
|
```
|
|
|
|
Build with ```gcc -Wall -Wextra -pedantic -std=c11 cclock.c -lncurses -lcurl -o cclock```
|
|
|
|
To effectively use this program, there is a toml config you must provide
|
|
$HOME/.conifg/cclock/config
|
|
```
|
|
[weather]
|
|
api_key = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
|
|
location = "Portland,US"
|
|
units = "imperial" # metric is another option
|
|
```
|
|
|