diff options
author | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-11-23 22:02:49 -0500 |
---|---|---|
committer | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-11-23 22:02:49 -0500 |
commit | ba488c77c2d549d008e397f533fe990f6d6aec4a (patch) | |
tree | 2bac769080c0920620f08edc44d79903d2bd65f6 /gerrit-widget | |
parent | 998f6ad7dae9af909d649919bf17946e6eb9c5db (diff) |
Rephrase readme of gerrit widget
Diffstat (limited to 'gerrit-widget')
-rw-r--r-- | gerrit-widget/README.md | 4 | ||||
-rw-r--r-- | gerrit-widget/gerrit.lua | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gerrit-widget/README.md b/gerrit-widget/README.md index a7ed09f..ac226cb 100644 --- a/gerrit-widget/README.md +++ b/gerrit-widget/README.md @@ -4,10 +4,12 @@ It shows number of currently assigned reviews in [Gerrit](https://www.gerritcode ![gerrit_widget](./gerrit_widget.png) - when clicked it shows reviews in a list, if an item of a list is clicked, the review will be opened in the default browser: + when clicked it shows reviews in a list:, if an item of a list is clicked, the review will be opened in the default browser: ![popup](./popup.png) + left click on an item will open review in the default browser, right click will copy the review number, which you can use to checkout this review by running `git-review -d <review number>`. + Also, if a new review is assigned to the user, there will be a pop-up: ![new_review](./new_review.png) diff --git a/gerrit-widget/gerrit.lua b/gerrit-widget/gerrit.lua index 0b0ff64..ab30fa3 100644 --- a/gerrit-widget/gerrit.lua +++ b/gerrit-widget/gerrit.lua @@ -177,7 +177,7 @@ local function worker(args) popup.visible = false end), awful.button({}, 3, function() - spawn.with_shell("echo 'git-review -d " .. review._number .."' | xclip -selection clipboard") + spawn.with_shell("echo '" .. review._number .."' | xclip -selection clipboard") popup.visible = false end) ) |