From e38bf84a6c385f4c129b831ce7323c811e18c6c2 Mon Sep 17 00:00:00 2001 From: anihilis Date: Thu, 12 Feb 2026 11:16:14 -0800 Subject: [PATCH] fixed README to show config example --- README.md | 12 +++++++++++- error | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 error diff --git a/README.md b/README.md index 5cfb6a5..bd168a9 100644 --- a/README.md +++ b/README.md @@ -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 +``` + diff --git a/error b/error new file mode 100644 index 0000000..c70d5e6 --- /dev/null +++ b/error @@ -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'.