{"action":"created","comment":{"url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/comments/39197923","id":39197923,"diff_hunk":"@@ -0,0 +1,31 @@\n+<center>i3blocks battery bar</center>\n+\t\t\t\t\t\t\n+\t\n+What does it do ?\n+-----------------\n+It displays the battery level in a set of five unicode squares (U+25A0).<br>\n+It also changes color for more accuracy and to distinguish between<br>\n+charging, discharging, charged and AC statuses.<br>\n+\t\n+Left-clicking briefly shows the battery level in percent.<br>\n+\n+Installation\n+------------\n+1-Copy the battery_bar script into /usr/share/i3blocks/.<br>\n+2-Give it execution permission. (#chmod +x battery_bar).<br>","path":"batterybar/README.md","position":15,"original_position":15,"commit_id":"4a9d2476d859bd3912585870e4513c8e5e0dff36","original_commit_id":"4a9d2476d859bd3912585870e4513c8e5e0dff36","user":{"login":"Zopieux","id":81353,"avatar_url":"https://avatars.githubusercontent.com/u/81353?v=3","gravatar_id":"","url":"https://api.github.com/users/Zopieux","html_url":"https://github.com/Zopieux","followers_url":"https://api.github.com/users/Zopieux/followers","following_url":"https://api.github.com/users/Zopieux/following{/other_user}","gists_url":"https://api.github.com/users/Zopieux/gists{/gist_id}","starred_url":"https://api.github.com/users/Zopieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zopieux/subscriptions","organizations_url":"https://api.github.com/users/Zopieux/orgs","repos_url":"https://api.github.com/users/Zopieux/repos","events_url":"https://api.github.com/users/Zopieux/events{/privacy}","received_events_url":"https://api.github.com/users/Zopieux/received_events","type":"User","site_admin":false},"body":"Use backquotes for inline code:\r\n\r\n    (`chmod +x battery_bar`)","created_at":"2015-09-10T18:46:18Z","updated_at":"2015-09-10T18:46:18Z","html_url":"https://github.com/vivien/i3blocks-contrib/pull/8#discussion_r39197923","pull_request_url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/comments/39197923"},"html":{"href":"https://github.com/vivien/i3blocks-contrib/pull/8#discussion_r39197923"},"pull_request":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8","id":44597640,"html_url":"https://github.com/vivien/i3blocks-contrib/pull/8","diff_url":"https://github.com/vivien/i3blocks-contrib/pull/8.diff","patch_url":"https://github.com/vivien/i3blocks-contrib/pull/8.patch","issue_url":"https://api.github.com/repos/vivien/i3blocks-contrib/issues/8","number":8,"state":"open","locked":false,"title":"batterybar:  displays the battery level as a bar","user":{"login":"Keftaa","id":14205498,"avatar_url":"https://avatars.githubusercontent.com/u/14205498?v=3","gravatar_id":"","url":"https://api.github.com/users/Keftaa","html_url":"https://github.com/Keftaa","followers_url":"https://api.github.com/users/Keftaa/followers","following_url":"https://api.github.com/users/Keftaa/following{/other_user}","gists_url":"https://api.github.com/users/Keftaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Keftaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keftaa/subscriptions","organizations_url":"https://api.github.com/users/Keftaa/orgs","repos_url":"https://api.github.com/users/Keftaa/repos","events_url":"https://api.github.com/users/Keftaa/events{/privacy}","received_events_url":"https://api.github.com/users/Keftaa/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-09T20:41:09Z","updated_at":"2015-09-10T18:46:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b03b893dc0ba24a8b62517ab22167a9a91aeb492","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8/commits","review_comments_url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8/comments","review_comment_url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vivien/i3blocks-contrib/issues/8/comments","statuses_url":"https://api.github.com/repos/vivien/i3blocks-contrib/statuses/4a9d2476d859bd3912585870e4513c8e5e0dff36","head":{"label":"Keftaa:master","ref":"master","sha":"4a9d2476d859bd3912585870e4513c8e5e0dff36","user":{"login":"Keftaa","id":14205498,"avatar_url":"https://avatars.githubusercontent.com/u/14205498?v=3","gravatar_id":"","url":"https://api.github.com/users/Keftaa","html_url":"https://github.com/Keftaa","followers_url":"https://api.github.com/users/Keftaa/followers","following_url":"https://api.github.com/users/Keftaa/following{/other_user}","gists_url":"https://api.github.com/users/Keftaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Keftaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keftaa/subscriptions","organizations_url":"https://api.github.com/users/Keftaa/orgs","repos_url":"https://api.github.com/users/Keftaa/repos","events_url":"https://api.github.com/users/Keftaa/events{/privacy}","received_events_url":"https://api.github.com/users/Keftaa/received_events","type":"User","site_admin":false},"repo":{"id":42200880,"name":"i3blocks-contrib","full_name":"Keftaa/i3blocks-contrib","owner":{"login":"Keftaa","id":14205498,"avatar_url":"https://avatars.githubusercontent.com/u/14205498?v=3","gravatar_id":"","url":"https://api.github.com/users/Keftaa","html_url":"https://github.com/Keftaa","followers_url":"https://api.github.com/users/Keftaa/followers","following_url":"https://api.github.com/users/Keftaa/following{/other_user}","gists_url":"https://api.github.com/users/Keftaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Keftaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keftaa/subscriptions","organizations_url":"https://api.github.com/users/Keftaa/orgs","repos_url":"https://api.github.com/users/Keftaa/repos","events_url":"https://api.github.com/users/Keftaa/events{/privacy}","received_events_url":"https://api.github.com/users/Keftaa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Keftaa/i3blocks-contrib","description":"Official repository for community contributed blocklets","fork":true,"url":"https://api.github.com/repos/Keftaa/i3blocks-contrib","forks_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/forks","keys_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/teams","hooks_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/hooks","issue_events_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/issues/events{/number}","events_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/events","assignees_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/assignees{/user}","branches_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/branches{/branch}","tags_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/tags","blobs_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/languages","stargazers_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/stargazers","contributors_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/contributors","subscribers_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/subscribers","subscription_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/subscription","commits_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/contents/{+path}","compare_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/merges","archive_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/downloads","issues_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/issues{/number}","pulls_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/labels{/name}","releases_url":"https://api.github.com/repos/Keftaa/i3blocks-contrib/releases{/id}","created_at":"2015-09-09T19:47:12Z","updated_at":"2015-09-09T19:47:12Z","pushed_at":"2015-09-09T23:27:24Z","git_url":"git://github.com/Keftaa/i3blocks-contrib.git","ssh_url":"git@github.com:Keftaa/i3blocks-contrib.git","clone_url":"https://github.com/Keftaa/i3blocks-contrib.git","svn_url":"https://github.com/Keftaa/i3blocks-contrib","homepage":"http://vivien.github.io/i3blocks/","size":176,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vivien:master","ref":"master","sha":"6f74ce9f9acbf9c6bd81a0286913dbf056e8a3e8","user":{"login":"vivien","id":285808,"avatar_url":"https://avatars.githubusercontent.com/u/285808?v=3","gravatar_id":"","url":"https://api.github.com/users/vivien","html_url":"https://github.com/vivien","followers_url":"https://api.github.com/users/vivien/followers","following_url":"https://api.github.com/users/vivien/following{/other_user}","gists_url":"https://api.github.com/users/vivien/gists{/gist_id}","starred_url":"https://api.github.com/users/vivien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivien/subscriptions","organizations_url":"https://api.github.com/users/vivien/orgs","repos_url":"https://api.github.com/users/vivien/repos","events_url":"https://api.github.com/users/vivien/events{/privacy}","received_events_url":"https://api.github.com/users/vivien/received_events","type":"User","site_admin":false},"repo":{"id":39731454,"name":"i3blocks-contrib","full_name":"vivien/i3blocks-contrib","owner":{"login":"vivien","id":285808,"avatar_url":"https://avatars.githubusercontent.com/u/285808?v=3","gravatar_id":"","url":"https://api.github.com/users/vivien","html_url":"https://github.com/vivien","followers_url":"https://api.github.com/users/vivien/followers","following_url":"https://api.github.com/users/vivien/following{/other_user}","gists_url":"https://api.github.com/users/vivien/gists{/gist_id}","starred_url":"https://api.github.com/users/vivien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivien/subscriptions","organizations_url":"https://api.github.com/users/vivien/orgs","repos_url":"https://api.github.com/users/vivien/repos","events_url":"https://api.github.com/users/vivien/events{/privacy}","received_events_url":"https://api.github.com/users/vivien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vivien/i3blocks-contrib","description":"Official repository for community contributed blocklets","fork":false,"url":"https://api.github.com/repos/vivien/i3blocks-contrib","forks_url":"https://api.github.com/repos/vivien/i3blocks-contrib/forks","keys_url":"https://api.github.com/repos/vivien/i3blocks-contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vivien/i3blocks-contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vivien/i3blocks-contrib/teams","hooks_url":"https://api.github.com/repos/vivien/i3blocks-contrib/hooks","issue_events_url":"https://api.github.com/repos/vivien/i3blocks-contrib/issues/events{/number}","events_url":"https://api.github.com/repos/vivien/i3blocks-contrib/events","assignees_url":"https://api.github.com/repos/vivien/i3blocks-contrib/assignees{/user}","branches_url":"https://api.github.com/repos/vivien/i3blocks-contrib/branches{/branch}","tags_url":"https://api.github.com/repos/vivien/i3blocks-contrib/tags","blobs_url":"https://api.github.com/repos/vivien/i3blocks-contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vivien/i3blocks-contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vivien/i3blocks-contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/vivien/i3blocks-contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vivien/i3blocks-contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/vivien/i3blocks-contrib/languages","stargazers_url":"https://api.github.com/repos/vivien/i3blocks-contrib/stargazers","contributors_url":"https://api.github.com/repos/vivien/i3blocks-contrib/contributors","subscribers_url":"https://api.github.com/repos/vivien/i3blocks-contrib/subscribers","subscription_url":"https://api.github.com/repos/vivien/i3blocks-contrib/subscription","commits_url":"https://api.github.com/repos/vivien/i3blocks-contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/vivien/i3blocks-contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/vivien/i3blocks-contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/vivien/i3blocks-contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/vivien/i3blocks-contrib/contents/{+path}","compare_url":"https://api.github.com/repos/vivien/i3blocks-contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vivien/i3blocks-contrib/merges","archive_url":"https://api.github.com/repos/vivien/i3blocks-contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vivien/i3blocks-contrib/downloads","issues_url":"https://api.github.com/repos/vivien/i3blocks-contrib/issues{/number}","pulls_url":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/vivien/i3blocks-contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/vivien/i3blocks-contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vivien/i3blocks-contrib/labels{/name}","releases_url":"https://api.github.com/repos/vivien/i3blocks-contrib/releases{/id}","created_at":"2015-07-26T16:02:05Z","updated_at":"2015-09-09T21:58:28Z","pushed_at":"2015-09-09T23:27:25Z","git_url":"git://github.com/vivien/i3blocks-contrib.git","ssh_url":"git@github.com:vivien/i3blocks-contrib.git","clone_url":"https://github.com/vivien/i3blocks-contrib.git","svn_url":"https://github.com/vivien/i3blocks-contrib","homepage":"http://vivien.github.io/i3blocks/","size":439,"stargazers_count":6,"watchers_count":6,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8"},"html":{"href":"https://github.com/vivien/i3blocks-contrib/pull/8"},"issue":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/issues/8"},"comments":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/vivien/i3blocks-contrib/statuses/4a9d2476d859bd3912585870e4513c8e5e0dff36"}}}}