Rephrase readme of gerrit widget
This commit is contained in:
parent
998f6ad7da
commit
ba488c77c2
|
@ -4,10 +4,12 @@ It shows number of currently assigned reviews in [Gerrit](https://www.gerritcode
|
||||||
|
|
||||||
![gerrit_widget](./gerrit_widget.png)
|
![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)
|
![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:
|
Also, if a new review is assigned to the user, there will be a pop-up:
|
||||||
|
|
||||||
![new_review](./new_review.png)
|
![new_review](./new_review.png)
|
||||||
|
|
|
@ -177,7 +177,7 @@ local function worker(args)
|
||||||
popup.visible = false
|
popup.visible = false
|
||||||
end),
|
end),
|
||||||
awful.button({}, 3, function()
|
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
|
popup.visible = false
|
||||||
end)
|
end)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue