Rephrase readme of gerrit widget

This commit is contained in:
Pavel Makhov 2019-11-23 22:02:49 -05:00
parent 998f6ad7da
commit ba488c77c2
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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)
)