The widget shows the number of pull requests assigned to the user and when clicked shows them in the list with some additional information. When item in the list is clicked - it opens the pull request in the browser.
## How it works
Widget uses cURL to query Bitbucket's [REST API](../awesome-wm-widgets/assets/img/screenshots/bitbucket-widgetttps://developer.atlassian.com/bitbucket/api/2/reference/). In order to be authenticated, widget uses a [netrc](../awesome-wm-widgets/assets/img/screenshots/bitbucket-widgetttps://ec.haxx.se/usingcurl/usingcurl-netrc) feature of the cURL, which is basically to store basic auth credentials in a .netrc file in home folder.
Bitbucket allows using [App Passwords](../awesome-wm-widgets/assets/img/screenshots/bitbucket-widgetttps://confluence.atlassian.com/bitbucket/app-passwords-828781300.html) (available in the account settings) - simply generate one for the widget and use it as password in .netrc file.