fixed README to show config example
This commit is contained in:
parent
1d93eb8f53
commit
e38bf84a6c
2 changed files with 12 additions and 1 deletions
12
README.md
12
README.md
|
|
@ -8,4 +8,14 @@ libncurses
|
||||||
libcurl
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
|
||||||
1
error
Normal file
1
error
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
cannot evaluate a function that has an argument without a value ('lib') Nix attempted to evaluate a function as a top level expression; in this case it must have its arguments supplied either by default values, or passed explicitly with '--arg' or '--argstr'.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue