fixed README to show config example

This commit is contained in:
anihilis 2026-02-12 11:16:14 -08:00
parent 1d93eb8f53
commit e38bf84a6c
2 changed files with 12 additions and 1 deletions

View file

@ -8,4 +8,14 @@ libncurses
libcurl
```
Build with ```gcc -Wall -Wextra -pedantic -std=c11 cclock.c -lncurses -lcurl -o cclock```
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
```