pull/2/head
Steven Saus 5 years ago
parent f2ea1e8e89
commit 905f21d839
  1. 10
      README.md
  2. 3
      weather_sh.rc

@ -34,14 +34,16 @@ This project is licensed under the MIT license. For the full license, see `LICEN
* `bc` basic calculator for floating point arithmetic. Can be found in the `bc` package on major Linux distributions.
* `curl` command-line tool for getting data using HTTP protocol. cURL can be found in the `curl` package on major Linux distributions.
* `grep` command-line tool used for parsing downloaded XML data. `grep` can be found in the `grep` package on major Linux distributions.
* `jq` command-line tool for parsing JSON data. `jq` can be found in the `jq` package on major Linux distributions.
## 4. How to use
### Options
### `weather_sh.rc`
At the beginning of the script is a place for your default location and
API key. These will be moved to an `rc` or `ini` file later. You may
also specify them on the commandline.
Copy (and edit, as appropriate) the `weather_sh.rc` file to `$HOME\.config`.
The first line is the OpenWeatherMap API key
The second line is your default location
The third line is your default degree character (either `c` or `f`).
### Command-line options

@ -0,0 +1,3 @@
NotARealAPIKey
Dayton
f
Loading…
Cancel
Save