From d7c5d291fd3ec83bc2120c43a2b580ff6e9572a7 Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Tue, 5 Nov 2019 21:54:24 -0500 Subject: Update readme --- gerrit-widget/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gerrit-widget') diff --git a/gerrit-widget/README.md b/gerrit-widget/README.md index 7c9f32d..5682b9b 100644 --- a/gerrit-widget/README.md +++ b/gerrit-widget/README.md @@ -8,6 +8,7 @@ It is possible to customize widget by providing a table with all or some of the | Name | Default | Description | |---|---|---| +| `icon`| `/.config/awesome/awesome-wm-widgets/gerrit-widget/gerrit_icon.svg| Path to the icon| | `host` | Required | Ex https://gerrit.tmnt.com | | `query` | `is:reviewer AND status:open AND NOT is:wip` | Query to retrieve reviews | @@ -18,6 +19,8 @@ It is possible to customize widget by providing a table with all or some of the ## Installation +1. This widget relies on Gerrit [REST API](https://gerrit-review.googlesource.com/Documentation/rest-api.html), so you need to have a permission to access it. You also need to setup [netrc](https://ec.haxx.se/usingcurl-netrc.html), as widget uses curl to communicate with API and you have to be authenticated. + 1. Download json parser for lua from [github.com/rxi/json.lua](https://github.com/rxi/json.lua) and place it under **~/.config/awesome/** (don't forget to star a repo): ```bash -- cgit v1.2.3