{"action":"created","comment":{"url":"https://api.github.com/repos/Alexays/Waybar/pulls/comments/230483550","pull_request_review_id":171240128,"id":230483550,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDQ4MzU1MA==","diff_hunk":"@@ -125,8 +127,13 @@ auto waybar::modules::Battery::update() -> void\n     }\n   } else {\n     label_.get_style_context()->remove_class(\"charging\");\n-    if (status == \"Full\" && config_[\"format-full\"].isString()) {\n-      format = config_[\"format-full\"].asString();\n+    if (status == \"Full\"){\n+      label_.get_style_context()->add_class(\"full\");\n+      if (config_[\"format-full\"].isString()) {\n+        format = config_[\"format-full\"].asString();\n+      }\n+    }else{","path":"src/modules/battery.cpp","position":20,"original_position":20,"commit_id":"9c57df505c4401ce42dc205d07049715ca6aa79d","original_commit_id":"9c57df505c4401ce42dc205d07049715ca6aa79d","user":{"login":"Alexays","id":13947260,"node_id":"MDQ6VXNlcjEzOTQ3MjYw","avatar_url":"https://avatars1.githubusercontent.com/u/13947260?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexays","html_url":"https://github.com/Alexays","followers_url":"https://api.github.com/users/Alexays/followers","following_url":"https://api.github.com/users/Alexays/following{/other_user}","gists_url":"https://api.github.com/users/Alexays/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexays/subscriptions","organizations_url":"https://api.github.com/users/Alexays/orgs","repos_url":"https://api.github.com/users/Alexays/repos","events_url":"https://api.github.com/users/Alexays/events{/privacy}","received_events_url":"https://api.github.com/users/Alexays/received_events","type":"User","site_admin":false},"body":"here too","created_at":"2018-11-02T19:27:13Z","updated_at":"2018-11-02T19:27:44Z","html_url":"https://github.com/Alexays/Waybar/pull/76#discussion_r230483550","pull_request_url":"https://api.github.com/repos/Alexays/Waybar/pulls/76","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Alexays/Waybar/pulls/comments/230483550"},"html":{"href":"https://github.com/Alexays/Waybar/pull/76#discussion_r230483550"},"pull_request":{"href":"https://api.github.com/repos/Alexays/Waybar/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/Alexays/Waybar/pulls/76","id":228026744,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MDI2NzQ0","html_url":"https://github.com/Alexays/Waybar/pull/76","diff_url":"https://github.com/Alexays/Waybar/pull/76.diff","patch_url":"https://github.com/Alexays/Waybar/pull/76.patch","issue_url":"https://api.github.com/repos/Alexays/Waybar/issues/76","number":76,"state":"open","locked":false,"title":"Add class for full battery and give option to interpret unknown as full","user":{"login":"mithodin","id":3817786,"node_id":"MDQ6VXNlcjM4MTc3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3817786?v=4","gravatar_id":"","url":"https://api.github.com/users/mithodin","html_url":"https://github.com/mithodin","followers_url":"https://api.github.com/users/mithodin/followers","following_url":"https://api.github.com/users/mithodin/following{/other_user}","gists_url":"https://api.github.com/users/mithodin/gists{/gist_id}","starred_url":"https://api.github.com/users/mithodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mithodin/subscriptions","organizations_url":"https://api.github.com/users/mithodin/orgs","repos_url":"https://api.github.com/users/mithodin/repos","events_url":"https://api.github.com/users/mithodin/events{/privacy}","received_events_url":"https://api.github.com/users/mithodin/received_events","type":"User","site_admin":false},"body":"Full battery status should also bet set as a class.\r\nAdditionally, users can configure the battery module such that an \"Unknown\" status is interpreted as \"Full\", because that's how some notebooks behave (e.g. Thinkpad T430s. Yup, that's the one I use ^^).","created_at":"2018-11-02T18:43:32Z","updated_at":"2018-11-02T19:27:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84eec69bc68c79d204db7bb03fc6114c575c620d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alexays/Waybar/pulls/76/commits","review_comments_url":"https://api.github.com/repos/Alexays/Waybar/pulls/76/comments","review_comment_url":"https://api.github.com/repos/Alexays/Waybar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alexays/Waybar/issues/76/comments","statuses_url":"https://api.github.com/repos/Alexays/Waybar/statuses/9c57df505c4401ce42dc205d07049715ca6aa79d","head":{"label":"mithodin:charging-full","ref":"charging-full","sha":"9c57df505c4401ce42dc205d07049715ca6aa79d","user":{"login":"mithodin","id":3817786,"node_id":"MDQ6VXNlcjM4MTc3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3817786?v=4","gravatar_id":"","url":"https://api.github.com/users/mithodin","html_url":"https://github.com/mithodin","followers_url":"https://api.github.com/users/mithodin/followers","following_url":"https://api.github.com/users/mithodin/following{/other_user}","gists_url":"https://api.github.com/users/mithodin/gists{/gist_id}","starred_url":"https://api.github.com/users/mithodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mithodin/subscriptions","organizations_url":"https://api.github.com/users/mithodin/orgs","repos_url":"https://api.github.com/users/mithodin/repos","events_url":"https://api.github.com/users/mithodin/events{/privacy}","received_events_url":"https://api.github.com/users/mithodin/received_events","type":"User","site_admin":false},"repo":{"id":155907484,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU5MDc0ODQ=","name":"Waybar","full_name":"mithodin/Waybar","private":false,"owner":{"login":"mithodin","id":3817786,"node_id":"MDQ6VXNlcjM4MTc3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3817786?v=4","gravatar_id":"","url":"https://api.github.com/users/mithodin","html_url":"https://github.com/mithodin","followers_url":"https://api.github.com/users/mithodin/followers","following_url":"https://api.github.com/users/mithodin/following{/other_user}","gists_url":"https://api.github.com/users/mithodin/gists{/gist_id}","starred_url":"https://api.github.com/users/mithodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mithodin/subscriptions","organizations_url":"https://api.github.com/users/mithodin/orgs","repos_url":"https://api.github.com/users/mithodin/repos","events_url":"https://api.github.com/users/mithodin/events{/privacy}","received_events_url":"https://api.github.com/users/mithodin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mithodin/Waybar","description":"Highly customizable Wayland Polybar like bar for Sway and Wlroots based compositors. :new: :tada:","fork":true,"url":"https://api.github.com/repos/mithodin/Waybar","forks_url":"https://api.github.com/repos/mithodin/Waybar/forks","keys_url":"https://api.github.com/repos/mithodin/Waybar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mithodin/Waybar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mithodin/Waybar/teams","hooks_url":"https://api.github.com/repos/mithodin/Waybar/hooks","issue_events_url":"https://api.github.com/repos/mithodin/Waybar/issues/events{/number}","events_url":"https://api.github.com/repos/mithodin/Waybar/events","assignees_url":"https://api.github.com/repos/mithodin/Waybar/assignees{/user}","branches_url":"https://api.github.com/repos/mithodin/Waybar/branches{/branch}","tags_url":"https://api.github.com/repos/mithodin/Waybar/tags","blobs_url":"https://api.github.com/repos/mithodin/Waybar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mithodin/Waybar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mithodin/Waybar/git/refs{/sha}","trees_url":"https://api.github.com/repos/mithodin/Waybar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mithodin/Waybar/statuses/{sha}","languages_url":"https://api.github.com/repos/mithodin/Waybar/languages","stargazers_url":"https://api.github.com/repos/mithodin/Waybar/stargazers","contributors_url":"https://api.github.com/repos/mithodin/Waybar/contributors","subscribers_url":"https://api.github.com/repos/mithodin/Waybar/subscribers","subscription_url":"https://api.github.com/repos/mithodin/Waybar/subscription","commits_url":"https://api.github.com/repos/mithodin/Waybar/commits{/sha}","git_commits_url":"https://api.github.com/repos/mithodin/Waybar/git/commits{/sha}","comments_url":"https://api.github.com/repos/mithodin/Waybar/comments{/number}","issue_comment_url":"https://api.github.com/repos/mithodin/Waybar/issues/comments{/number}","contents_url":"https://api.github.com/repos/mithodin/Waybar/contents/{+path}","compare_url":"https://api.github.com/repos/mithodin/Waybar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mithodin/Waybar/merges","archive_url":"https://api.github.com/repos/mithodin/Waybar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mithodin/Waybar/downloads","issues_url":"https://api.github.com/repos/mithodin/Waybar/issues{/number}","pulls_url":"https://api.github.com/repos/mithodin/Waybar/pulls{/number}","milestones_url":"https://api.github.com/repos/mithodin/Waybar/milestones{/number}","notifications_url":"https://api.github.com/repos/mithodin/Waybar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mithodin/Waybar/labels{/name}","releases_url":"https://api.github.com/repos/mithodin/Waybar/releases{/id}","deployments_url":"https://api.github.com/repos/mithodin/Waybar/deployments","created_at":"2018-11-02T18:36:37Z","updated_at":"2018-11-02T18:36:40Z","pushed_at":"2018-11-02T19:13:03Z","git_url":"git://github.com/mithodin/Waybar.git","ssh_url":"git@github.com:mithodin/Waybar.git","clone_url":"https://github.com/mithodin/Waybar.git","svn_url":"https://github.com/mithodin/Waybar","homepage":"","size":497,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Alexays:master","ref":"master","sha":"00e7e87f55ad1a471ea771715b0ab19bf5cb97bb","user":{"login":"Alexays","id":13947260,"node_id":"MDQ6VXNlcjEzOTQ3MjYw","avatar_url":"https://avatars1.githubusercontent.com/u/13947260?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexays","html_url":"https://github.com/Alexays","followers_url":"https://api.github.com/users/Alexays/followers","following_url":"https://api.github.com/users/Alexays/following{/other_user}","gists_url":"https://api.github.com/users/Alexays/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexays/subscriptions","organizations_url":"https://api.github.com/users/Alexays/orgs","repos_url":"https://api.github.com/users/Alexays/repos","events_url":"https://api.github.com/users/Alexays/events{/privacy}","received_events_url":"https://api.github.com/users/Alexays/received_events","type":"User","site_admin":false},"repo":{"id":144071425,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQwNzE0MjU=","name":"Waybar","full_name":"Alexays/Waybar","private":false,"owner":{"login":"Alexays","id":13947260,"node_id":"MDQ6VXNlcjEzOTQ3MjYw","avatar_url":"https://avatars1.githubusercontent.com/u/13947260?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexays","html_url":"https://github.com/Alexays","followers_url":"https://api.github.com/users/Alexays/followers","following_url":"https://api.github.com/users/Alexays/following{/other_user}","gists_url":"https://api.github.com/users/Alexays/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexays/subscriptions","organizations_url":"https://api.github.com/users/Alexays/orgs","repos_url":"https://api.github.com/users/Alexays/repos","events_url":"https://api.github.com/users/Alexays/events{/privacy}","received_events_url":"https://api.github.com/users/Alexays/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Alexays/Waybar","description":"Highly customizable Wayland Polybar like bar for Sway and Wlroots based compositors. :new: :tada:","fork":false,"url":"https://api.github.com/repos/Alexays/Waybar","forks_url":"https://api.github.com/repos/Alexays/Waybar/forks","keys_url":"https://api.github.com/repos/Alexays/Waybar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alexays/Waybar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alexays/Waybar/teams","hooks_url":"https://api.github.com/repos/Alexays/Waybar/hooks","issue_events_url":"https://api.github.com/repos/Alexays/Waybar/issues/events{/number}","events_url":"https://api.github.com/repos/Alexays/Waybar/events","assignees_url":"https://api.github.com/repos/Alexays/Waybar/assignees{/user}","branches_url":"https://api.github.com/repos/Alexays/Waybar/branches{/branch}","tags_url":"https://api.github.com/repos/Alexays/Waybar/tags","blobs_url":"https://api.github.com/repos/Alexays/Waybar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alexays/Waybar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alexays/Waybar/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alexays/Waybar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alexays/Waybar/statuses/{sha}","languages_url":"https://api.github.com/repos/Alexays/Waybar/languages","stargazers_url":"https://api.github.com/repos/Alexays/Waybar/stargazers","contributors_url":"https://api.github.com/repos/Alexays/Waybar/contributors","subscribers_url":"https://api.github.com/repos/Alexays/Waybar/subscribers","subscription_url":"https://api.github.com/repos/Alexays/Waybar/subscription","commits_url":"https://api.github.com/repos/Alexays/Waybar/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alexays/Waybar/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alexays/Waybar/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alexays/Waybar/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alexays/Waybar/contents/{+path}","compare_url":"https://api.github.com/repos/Alexays/Waybar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alexays/Waybar/merges","archive_url":"https://api.github.com/repos/Alexays/Waybar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alexays/Waybar/downloads","issues_url":"https://api.github.com/repos/Alexays/Waybar/issues{/number}","pulls_url":"https://api.github.com/repos/Alexays/Waybar/pulls{/number}","milestones_url":"https://api.github.com/repos/Alexays/Waybar/milestones{/number}","notifications_url":"https://api.github.com/repos/Alexays/Waybar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alexays/Waybar/labels{/name}","releases_url":"https://api.github.com/repos/Alexays/Waybar/releases{/id}","deployments_url":"https://api.github.com/repos/Alexays/Waybar/deployments","created_at":"2018-08-08T21:53:36Z","updated_at":"2018-11-02T16:39:07Z","pushed_at":"2018-11-02T19:15:10Z","git_url":"git://github.com/Alexays/Waybar.git","ssh_url":"git@github.com:Alexays/Waybar.git","clone_url":"https://github.com/Alexays/Waybar.git","svn_url":"https://github.com/Alexays/Waybar","homepage":"","size":497,"stargazers_count":138,"watchers_count":138,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":14,"open_issues":12,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alexays/Waybar/pulls/76"},"html":{"href":"https://github.com/Alexays/Waybar/pull/76"},"issue":{"href":"https://api.github.com/repos/Alexays/Waybar/issues/76"},"comments":{"href":"https://api.github.com/repos/Alexays/Waybar/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/Alexays/Waybar/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/Alexays/Waybar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alexays/Waybar/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/Alexays/Waybar/statuses/9c57df505c4401ce42dc205d07049715ca6aa79d"}},"author_association":"NONE"}}
{"actor":{"display_login":"Alexays"}}