{"action":"created","comment":{"url":"https://api.github.com/repos/powerline/powerline/pulls/comments/48876478","id":48876478,"diff_hunk":"@@ -0,0 +1,23 @@\n+# vim:fileencoding=utf-8:noet\n+from __future__ import (unicode_literals, division, absolute_import, print_function)\n+\n+from powerline import Powerline\n+from powerline.lib.dict import mergedicts\n+\n+\n+class LemonbarPowerline(Powerline):","path":"powerline/lemonbar.py","position":8,"original_position":8,"commit_id":"d5f0d1b229301700d65125a5ad21005be811cf38","original_commit_id":"d5f0d1b229301700d65125a5ad21005be811cf38","user":{"login":"S0lll0s","id":1731279,"avatar_url":"https://avatars.githubusercontent.com/u/1731279?v=3","gravatar_id":"","url":"https://api.github.com/users/S0lll0s","html_url":"https://github.com/S0lll0s","followers_url":"https://api.github.com/users/S0lll0s/followers","following_url":"https://api.github.com/users/S0lll0s/following{/other_user}","gists_url":"https://api.github.com/users/S0lll0s/gists{/gist_id}","starred_url":"https://api.github.com/users/S0lll0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0lll0s/subscriptions","organizations_url":"https://api.github.com/users/S0lll0s/orgs","repos_url":"https://api.github.com/users/S0lll0s/repos","events_url":"https://api.github.com/users/S0lll0s/events{/privacy}","received_events_url":"https://api.github.com/users/S0lll0s/received_events","type":"User","site_admin":false},"body":"isn't the default implementation okay? I wouldn't know where I should get it from except from the environment locale and thats what `get_preffered_output_encoding` does, no?","created_at":"2016-01-05T18:19:07Z","updated_at":"2016-01-05T18:19:07Z","html_url":"https://github.com/powerline/powerline/pull/1431#discussion_r48876478","pull_request_url":"https://api.github.com/repos/powerline/powerline/pulls/1431","_links":{"self":{"href":"https://api.github.com/repos/powerline/powerline/pulls/comments/48876478"},"html":{"href":"https://github.com/powerline/powerline/pull/1431#discussion_r48876478"},"pull_request":{"href":"https://api.github.com/repos/powerline/powerline/pulls/1431"}}},"pull_request":{"url":"https://api.github.com/repos/powerline/powerline/pulls/1431","id":43033509,"html_url":"https://github.com/powerline/powerline/pull/1431","diff_url":"https://github.com/powerline/powerline/pull/1431.diff","patch_url":"https://github.com/powerline/powerline/pull/1431.patch","issue_url":"https://api.github.com/repos/powerline/powerline/issues/1431","number":1431,"state":"open","locked":false,"title":"Rename bar (bar-aint-recursive) to lemonbar","user":{"login":"S0lll0s","id":1731279,"avatar_url":"https://avatars.githubusercontent.com/u/1731279?v=3","gravatar_id":"","url":"https://api.github.com/users/S0lll0s","html_url":"https://github.com/S0lll0s","followers_url":"https://api.github.com/users/S0lll0s/followers","following_url":"https://api.github.com/users/S0lll0s/following{/other_user}","gists_url":"https://api.github.com/users/S0lll0s/gists{/gist_id}","starred_url":"https://api.github.com/users/S0lll0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0lll0s/subscriptions","organizations_url":"https://api.github.com/users/S0lll0s/orgs","repos_url":"https://api.github.com/users/S0lll0s/repos","events_url":"https://api.github.com/users/S0lll0s/events{/privacy}","received_events_url":"https://api.github.com/users/S0lll0s/received_events","type":"User","site_admin":false},"body":"PR for issue #1430\n\nI sneaked in a small update to the i3wm.workspaces segment, I hope that's okay.\n`powerline-lemonbar.py` got a lot more complicated, I bet you will know a cleaner way than reimplement all that in `LemonbarPowerline`?","created_at":"2015-08-21T12:42:10Z","updated_at":"2016-01-05T18:19:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e81078433549f19a2cadcf03e7607a4247fe577","assignee":null,"milestone":{"url":"https://api.github.com/repos/powerline/powerline/milestones/5","html_url":"https://github.com/powerline/powerline/milestones/3.0","labels_url":"https://api.github.com/repos/powerline/powerline/milestones/5/labels","id":988313,"number":5,"title":"3.0","description":"","creator":{"login":"ZyX-I","id":322097,"avatar_url":"https://avatars.githubusercontent.com/u/322097?v=3","gravatar_id":"","url":"https://api.github.com/users/ZyX-I","html_url":"https://github.com/ZyX-I","followers_url":"https://api.github.com/users/ZyX-I/followers","following_url":"https://api.github.com/users/ZyX-I/following{/other_user}","gists_url":"https://api.github.com/users/ZyX-I/gists{/gist_id}","starred_url":"https://api.github.com/users/ZyX-I/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZyX-I/subscriptions","organizations_url":"https://api.github.com/users/ZyX-I/orgs","repos_url":"https://api.github.com/users/ZyX-I/repos","events_url":"https://api.github.com/users/ZyX-I/events{/privacy}","received_events_url":"https://api.github.com/users/ZyX-I/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2015-02-20T13:51:52Z","updated_at":"2015-12-05T22:37:33Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/powerline/powerline/pulls/1431/commits","review_comments_url":"https://api.github.com/repos/powerline/powerline/pulls/1431/comments","review_comment_url":"https://api.github.com/repos/powerline/powerline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/powerline/powerline/issues/1431/comments","statuses_url":"https://api.github.com/repos/powerline/powerline/statuses/d5f0d1b229301700d65125a5ad21005be811cf38","head":{"label":"S0lll0s:develop","ref":"develop","sha":"d5f0d1b229301700d65125a5ad21005be811cf38","user":{"login":"S0lll0s","id":1731279,"avatar_url":"https://avatars.githubusercontent.com/u/1731279?v=3","gravatar_id":"","url":"https://api.github.com/users/S0lll0s","html_url":"https://github.com/S0lll0s","followers_url":"https://api.github.com/users/S0lll0s/followers","following_url":"https://api.github.com/users/S0lll0s/following{/other_user}","gists_url":"https://api.github.com/users/S0lll0s/gists{/gist_id}","starred_url":"https://api.github.com/users/S0lll0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0lll0s/subscriptions","organizations_url":"https://api.github.com/users/S0lll0s/orgs","repos_url":"https://api.github.com/users/S0lll0s/repos","events_url":"https://api.github.com/users/S0lll0s/events{/privacy}","received_events_url":"https://api.github.com/users/S0lll0s/received_events","type":"User","site_admin":false},"repo":{"id":16507187,"name":"powerline","full_name":"S0lll0s/powerline","owner":{"login":"S0lll0s","id":1731279,"avatar_url":"https://avatars.githubusercontent.com/u/1731279?v=3","gravatar_id":"","url":"https://api.github.com/users/S0lll0s","html_url":"https://github.com/S0lll0s","followers_url":"https://api.github.com/users/S0lll0s/followers","following_url":"https://api.github.com/users/S0lll0s/following{/other_user}","gists_url":"https://api.github.com/users/S0lll0s/gists{/gist_id}","starred_url":"https://api.github.com/users/S0lll0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0lll0s/subscriptions","organizations_url":"https://api.github.com/users/S0lll0s/orgs","repos_url":"https://api.github.com/users/S0lll0s/repos","events_url":"https://api.github.com/users/S0lll0s/events{/privacy}","received_events_url":"https://api.github.com/users/S0lll0s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/S0lll0s/powerline","description":"Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.","fork":true,"url":"https://api.github.com/repos/S0lll0s/powerline","forks_url":"https://api.github.com/repos/S0lll0s/powerline/forks","keys_url":"https://api.github.com/repos/S0lll0s/powerline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/S0lll0s/powerline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/S0lll0s/powerline/teams","hooks_url":"https://api.github.com/repos/S0lll0s/powerline/hooks","issue_events_url":"https://api.github.com/repos/S0lll0s/powerline/issues/events{/number}","events_url":"https://api.github.com/repos/S0lll0s/powerline/events","assignees_url":"https://api.github.com/repos/S0lll0s/powerline/assignees{/user}","branches_url":"https://api.github.com/repos/S0lll0s/powerline/branches{/branch}","tags_url":"https://api.github.com/repos/S0lll0s/powerline/tags","blobs_url":"https://api.github.com/repos/S0lll0s/powerline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/S0lll0s/powerline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/S0lll0s/powerline/git/refs{/sha}","trees_url":"https://api.github.com/repos/S0lll0s/powerline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/S0lll0s/powerline/statuses/{sha}","languages_url":"https://api.github.com/repos/S0lll0s/powerline/languages","stargazers_url":"https://api.github.com/repos/S0lll0s/powerline/stargazers","contributors_url":"https://api.github.com/repos/S0lll0s/powerline/contributors","subscribers_url":"https://api.github.com/repos/S0lll0s/powerline/subscribers","subscription_url":"https://api.github.com/repos/S0lll0s/powerline/subscription","commits_url":"https://api.github.com/repos/S0lll0s/powerline/commits{/sha}","git_commits_url":"https://api.github.com/repos/S0lll0s/powerline/git/commits{/sha}","comments_url":"https://api.github.com/repos/S0lll0s/powerline/comments{/number}","issue_comment_url":"https://api.github.com/repos/S0lll0s/powerline/issues/comments{/number}","contents_url":"https://api.github.com/repos/S0lll0s/powerline/contents/{+path}","compare_url":"https://api.github.com/repos/S0lll0s/powerline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/S0lll0s/powerline/merges","archive_url":"https://api.github.com/repos/S0lll0s/powerline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/S0lll0s/powerline/downloads","issues_url":"https://api.github.com/repos/S0lll0s/powerline/issues{/number}","pulls_url":"https://api.github.com/repos/S0lll0s/powerline/pulls{/number}","milestones_url":"https://api.github.com/repos/S0lll0s/powerline/milestones{/number}","notifications_url":"https://api.github.com/repos/S0lll0s/powerline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/S0lll0s/powerline/labels{/name}","releases_url":"https://api.github.com/repos/S0lll0s/powerline/releases{/id}","created_at":"2014-02-04T09:16:14Z","updated_at":"2015-01-24T16:58:53Z","pushed_at":"2016-01-05T03:54:53Z","git_url":"git://github.com/S0lll0s/powerline.git","ssh_url":"git@github.com:S0lll0s/powerline.git","clone_url":"https://github.com/S0lll0s/powerline.git","svn_url":"https://github.com/S0lll0s/powerline","homepage":"https://powerline.readthedocs.org/en/latest/","size":3772,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"powerline:develop","ref":"develop","sha":"59e66dca32f2bf17cb7cabec80b3c8d729795266","user":{"login":"powerline","id":10100576,"avatar_url":"https://avatars.githubusercontent.com/u/10100576?v=3","gravatar_id":"","url":"https://api.github.com/users/powerline","html_url":"https://github.com/powerline","followers_url":"https://api.github.com/users/powerline/followers","following_url":"https://api.github.com/users/powerline/following{/other_user}","gists_url":"https://api.github.com/users/powerline/gists{/gist_id}","starred_url":"https://api.github.com/users/powerline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerline/subscriptions","organizations_url":"https://api.github.com/users/powerline/orgs","repos_url":"https://api.github.com/users/powerline/repos","events_url":"https://api.github.com/users/powerline/events{/privacy}","received_events_url":"https://api.github.com/users/powerline/received_events","type":"Organization","site_admin":false},"repo":{"id":4637221,"name":"powerline","full_name":"powerline/powerline","owner":{"login":"powerline","id":10100576,"avatar_url":"https://avatars.githubusercontent.com/u/10100576?v=3","gravatar_id":"","url":"https://api.github.com/users/powerline","html_url":"https://github.com/powerline","followers_url":"https://api.github.com/users/powerline/followers","following_url":"https://api.github.com/users/powerline/following{/other_user}","gists_url":"https://api.github.com/users/powerline/gists{/gist_id}","starred_url":"https://api.github.com/users/powerline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerline/subscriptions","organizations_url":"https://api.github.com/users/powerline/orgs","repos_url":"https://api.github.com/users/powerline/repos","events_url":"https://api.github.com/users/powerline/events{/privacy}","received_events_url":"https://api.github.com/users/powerline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/powerline/powerline","description":"Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.","fork":false,"url":"https://api.github.com/repos/powerline/powerline","forks_url":"https://api.github.com/repos/powerline/powerline/forks","keys_url":"https://api.github.com/repos/powerline/powerline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/powerline/powerline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/powerline/powerline/teams","hooks_url":"https://api.github.com/repos/powerline/powerline/hooks","issue_events_url":"https://api.github.com/repos/powerline/powerline/issues/events{/number}","events_url":"https://api.github.com/repos/powerline/powerline/events","assignees_url":"https://api.github.com/repos/powerline/powerline/assignees{/user}","branches_url":"https://api.github.com/repos/powerline/powerline/branches{/branch}","tags_url":"https://api.github.com/repos/powerline/powerline/tags","blobs_url":"https://api.github.com/repos/powerline/powerline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/powerline/powerline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/powerline/powerline/git/refs{/sha}","trees_url":"https://api.github.com/repos/powerline/powerline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/powerline/powerline/statuses/{sha}","languages_url":"https://api.github.com/repos/powerline/powerline/languages","stargazers_url":"https://api.github.com/repos/powerline/powerline/stargazers","contributors_url":"https://api.github.com/repos/powerline/powerline/contributors","subscribers_url":"https://api.github.com/repos/powerline/powerline/subscribers","subscription_url":"https://api.github.com/repos/powerline/powerline/subscription","commits_url":"https://api.github.com/repos/powerline/powerline/commits{/sha}","git_commits_url":"https://api.github.com/repos/powerline/powerline/git/commits{/sha}","comments_url":"https://api.github.com/repos/powerline/powerline/comments{/number}","issue_comment_url":"https://api.github.com/repos/powerline/powerline/issues/comments{/number}","contents_url":"https://api.github.com/repos/powerline/powerline/contents/{+path}","compare_url":"https://api.github.com/repos/powerline/powerline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/powerline/powerline/merges","archive_url":"https://api.github.com/repos/powerline/powerline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/powerline/powerline/downloads","issues_url":"https://api.github.com/repos/powerline/powerline/issues{/number}","pulls_url":"https://api.github.com/repos/powerline/powerline/pulls{/number}","milestones_url":"https://api.github.com/repos/powerline/powerline/milestones{/number}","notifications_url":"https://api.github.com/repos/powerline/powerline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/powerline/powerline/labels{/name}","releases_url":"https://api.github.com/repos/powerline/powerline/releases{/id}","created_at":"2012-06-12T12:48:40Z","updated_at":"2016-01-05T10:40:22Z","pushed_at":"2016-01-05T03:54:53Z","git_url":"git://github.com/powerline/powerline.git","ssh_url":"git@github.com:powerline/powerline.git","clone_url":"https://github.com/powerline/powerline.git","svn_url":"https://github.com/powerline/powerline","homepage":"https://powerline.readthedocs.org/en/latest/","size":5341,"stargazers_count":5221,"watchers_count":5221,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":466,"mirror_url":null,"open_issues_count":57,"forks":466,"open_issues":57,"watchers":5221,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/powerline/powerline/pulls/1431"},"html":{"href":"https://github.com/powerline/powerline/pull/1431"},"issue":{"href":"https://api.github.com/repos/powerline/powerline/issues/1431"},"comments":{"href":"https://api.github.com/repos/powerline/powerline/issues/1431/comments"},"review_comments":{"href":"https://api.github.com/repos/powerline/powerline/pulls/1431/comments"},"review_comment":{"href":"https://api.github.com/repos/powerline/powerline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/powerline/powerline/pulls/1431/commits"},"statuses":{"href":"https://api.github.com/repos/powerline/powerline/statuses/d5f0d1b229301700d65125a5ad21005be811cf38"}}}}