diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-05 16:45:12 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-05 16:45:12 -0800 |
| commit | 0c1b3d429a03897f3551912cf93a317bcb1c603a (patch) | |
| tree | 1e1d1361a7e5e10fb71661c181de59e69a01240f /README.md | |
| parent | 4891206c071679f82d72ad9e81fca88527013051 (diff) | |
Improved install/uninstall process and updated doc.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -2,11 +2,13 @@ `nowopen` is a simple program to display which places are currently open. -## Usage - -First, create a file with business hours in it at either `~/.local/share/nowopen/businesshours` -(recommended) or `~/.businesshours`. An example businesshours file is provided. -The format looks like: +## Installing +`sudo make install` to install, and `sudo make uninstall` to uninstall. +You should also create a file to store business hours in at either +`~/.local/share/nowopen/businesshours` (recommended) or `~/.businesshours`. +An example businesshours file is provided, so you can get started by +running `mkdir -p ~/.local/share/nowopen && cp example_businesshours ~/.local/share/nowopen/businesshours`. +The businesshours format looks like: ``` Mario Bros Plumbing (plumbers): @@ -14,6 +16,7 @@ Mario Bros Plumbing (plumbers): sun: closed ``` +## Usage Once you have a businesshours file, run `nowopen [-p] [tag1 tag2...]`. Establishments matching any of the specified tags (prefix matching is used) and the amount of time till they close will be displayed. E.g. `nowopen plumber` will show how long |
