From d02ee056d1d1a39f583d41c6b6cb3b1f985e5878 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 5 Jan 2019 15:34:14 -0800 Subject: Added readme/license and better -p flag --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..f4237ae --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# nowopen + +`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: + +``` +Mario Bros Plumbing (plumbers): + 7am-6:30pm + sun: closed +``` + +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 +"Mario Bros Plumbing" is open. The "-p" flag can be used to print plain text to +stdout instead of displaying in a temporary display with colors. -- cgit v1.2.3