{"action":"opened","number":434,"pull_request":{"url":"https://api.github.com/repos/SirCmpwn/sway/pulls/434","id":55045247,"html_url":"https://github.com/SirCmpwn/sway/pull/434","diff_url":"https://github.com/SirCmpwn/sway/pull/434.diff","patch_url":"https://github.com/SirCmpwn/sway/pull/434.patch","issue_url":"https://api.github.com/repos/SirCmpwn/sway/issues/434","number":434,"state":"open","locked":false,"title":"[WIP] Send IPC modifier event on bar_modifier up/down","user":{"login":"mikkeloscar","id":128566,"avatar_url":"https://avatars.githubusercontent.com/u/128566?v=3","gravatar_id":"","url":"https://api.github.com/users/mikkeloscar","html_url":"https://github.com/mikkeloscar","followers_url":"https://api.github.com/users/mikkeloscar/followers","following_url":"https://api.github.com/users/mikkeloscar/following{/other_user}","gists_url":"https://api.github.com/users/mikkeloscar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkeloscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkeloscar/subscriptions","organizations_url":"https://api.github.com/users/mikkeloscar/orgs","repos_url":"https://api.github.com/users/mikkeloscar/repos","events_url":"https://api.github.com/users/mikkeloscar/events{/privacy}","received_events_url":"https://api.github.com/users/mikkeloscar/received_events","type":"User","site_admin":false},"body":"Detects when a bar modifier key is pressed/released and sends a modifier IPC event to any listeners (usually swaybars).\r\n    \r\nThis way a swaybar can listen on the modifier event and hide/show the bar accordingly (not implemented yet).\r\n\r\nThe modifier event looks like this:\r\n\r\n    {\r\n      \"change\": \"pressed\", // or released\r\n      \"modifier\": \"Mod4\"\r\n    }","created_at":"2016-01-05T01:30:54Z","updated_at":"2016-01-05T01:30:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SirCmpwn/sway/pulls/434/commits","review_comments_url":"https://api.github.com/repos/SirCmpwn/sway/pulls/434/comments","review_comment_url":"https://api.github.com/repos/SirCmpwn/sway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SirCmpwn/sway/issues/434/comments","statuses_url":"https://api.github.com/repos/SirCmpwn/sway/statuses/c20c63b677c03b17441f0d135b5325e23d65f38d","head":{"label":"mikkeloscar:detect-modifier","ref":"detect-modifier","sha":"c20c63b677c03b17441f0d135b5325e23d65f38d","user":{"login":"mikkeloscar","id":128566,"avatar_url":"https://avatars.githubusercontent.com/u/128566?v=3","gravatar_id":"","url":"https://api.github.com/users/mikkeloscar","html_url":"https://github.com/mikkeloscar","followers_url":"https://api.github.com/users/mikkeloscar/followers","following_url":"https://api.github.com/users/mikkeloscar/following{/other_user}","gists_url":"https://api.github.com/users/mikkeloscar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkeloscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkeloscar/subscriptions","organizations_url":"https://api.github.com/users/mikkeloscar/orgs","repos_url":"https://api.github.com/users/mikkeloscar/repos","events_url":"https://api.github.com/users/mikkeloscar/events{/privacy}","received_events_url":"https://api.github.com/users/mikkeloscar/received_events","type":"User","site_admin":false},"repo":{"id":41923603,"name":"sway","full_name":"mikkeloscar/sway","owner":{"login":"mikkeloscar","id":128566,"avatar_url":"https://avatars.githubusercontent.com/u/128566?v=3","gravatar_id":"","url":"https://api.github.com/users/mikkeloscar","html_url":"https://github.com/mikkeloscar","followers_url":"https://api.github.com/users/mikkeloscar/followers","following_url":"https://api.github.com/users/mikkeloscar/following{/other_user}","gists_url":"https://api.github.com/users/mikkeloscar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkeloscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkeloscar/subscriptions","organizations_url":"https://api.github.com/users/mikkeloscar/orgs","repos_url":"https://api.github.com/users/mikkeloscar/repos","events_url":"https://api.github.com/users/mikkeloscar/events{/privacy}","received_events_url":"https://api.github.com/users/mikkeloscar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikkeloscar/sway","description":"i3-compatible window manager for Wayland (WIP)","fork":true,"url":"https://api.github.com/repos/mikkeloscar/sway","forks_url":"https://api.github.com/repos/mikkeloscar/sway/forks","keys_url":"https://api.github.com/repos/mikkeloscar/sway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikkeloscar/sway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikkeloscar/sway/teams","hooks_url":"https://api.github.com/repos/mikkeloscar/sway/hooks","issue_events_url":"https://api.github.com/repos/mikkeloscar/sway/issues/events{/number}","events_url":"https://api.github.com/repos/mikkeloscar/sway/events","assignees_url":"https://api.github.com/repos/mikkeloscar/sway/assignees{/user}","branches_url":"https://api.github.com/repos/mikkeloscar/sway/branches{/branch}","tags_url":"https://api.github.com/repos/mikkeloscar/sway/tags","blobs_url":"https://api.github.com/repos/mikkeloscar/sway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikkeloscar/sway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikkeloscar/sway/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikkeloscar/sway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikkeloscar/sway/statuses/{sha}","languages_url":"https://api.github.com/repos/mikkeloscar/sway/languages","stargazers_url":"https://api.github.com/repos/mikkeloscar/sway/stargazers","contributors_url":"https://api.github.com/repos/mikkeloscar/sway/contributors","subscribers_url":"https://api.github.com/repos/mikkeloscar/sway/subscribers","subscription_url":"https://api.github.com/repos/mikkeloscar/sway/subscription","commits_url":"https://api.github.com/repos/mikkeloscar/sway/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikkeloscar/sway/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikkeloscar/sway/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikkeloscar/sway/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikkeloscar/sway/contents/{+path}","compare_url":"https://api.github.com/repos/mikkeloscar/sway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikkeloscar/sway/merges","archive_url":"https://api.github.com/repos/mikkeloscar/sway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikkeloscar/sway/downloads","issues_url":"https://api.github.com/repos/mikkeloscar/sway/issues{/number}","pulls_url":"https://api.github.com/repos/mikkeloscar/sway/pulls{/number}","milestones_url":"https://api.github.com/repos/mikkeloscar/sway/milestones{/number}","notifications_url":"https://api.github.com/repos/mikkeloscar/sway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikkeloscar/sway/labels{/name}","releases_url":"https://api.github.com/repos/mikkeloscar/sway/releases{/id}","created_at":"2015-09-04T15:34:29Z","updated_at":"2015-09-04T15:34:29Z","pushed_at":"2016-01-05T01:27:06Z","git_url":"git://github.com/mikkeloscar/sway.git","ssh_url":"git@github.com:mikkeloscar/sway.git","clone_url":"https://github.com/mikkeloscar/sway.git","svn_url":"https://github.com/mikkeloscar/sway","homepage":"http://swaywm.org/","size":3629,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SirCmpwn:master","ref":"master","sha":"33b24736c78d9993a26d295ea3e56ad77d6f1390","user":{"login":"SirCmpwn","id":1310872,"avatar_url":"https://avatars.githubusercontent.com/u/1310872?v=3","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"repo":{"id":40217904,"name":"sway","full_name":"SirCmpwn/sway","owner":{"login":"SirCmpwn","id":1310872,"avatar_url":"https://avatars.githubusercontent.com/u/1310872?v=3","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SirCmpwn/sway","description":"i3-compatible window manager for Wayland (WIP)","fork":false,"url":"https://api.github.com/repos/SirCmpwn/sway","forks_url":"https://api.github.com/repos/SirCmpwn/sway/forks","keys_url":"https://api.github.com/repos/SirCmpwn/sway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SirCmpwn/sway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SirCmpwn/sway/teams","hooks_url":"https://api.github.com/repos/SirCmpwn/sway/hooks","issue_events_url":"https://api.github.com/repos/SirCmpwn/sway/issues/events{/number}","events_url":"https://api.github.com/repos/SirCmpwn/sway/events","assignees_url":"https://api.github.com/repos/SirCmpwn/sway/assignees{/user}","branches_url":"https://api.github.com/repos/SirCmpwn/sway/branches{/branch}","tags_url":"https://api.github.com/repos/SirCmpwn/sway/tags","blobs_url":"https://api.github.com/repos/SirCmpwn/sway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SirCmpwn/sway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SirCmpwn/sway/git/refs{/sha}","trees_url":"https://api.github.com/repos/SirCmpwn/sway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SirCmpwn/sway/statuses/{sha}","languages_url":"https://api.github.com/repos/SirCmpwn/sway/languages","stargazers_url":"https://api.github.com/repos/SirCmpwn/sway/stargazers","contributors_url":"https://api.github.com/repos/SirCmpwn/sway/contributors","subscribers_url":"https://api.github.com/repos/SirCmpwn/sway/subscribers","subscription_url":"https://api.github.com/repos/SirCmpwn/sway/subscription","commits_url":"https://api.github.com/repos/SirCmpwn/sway/commits{/sha}","git_commits_url":"https://api.github.com/repos/SirCmpwn/sway/git/commits{/sha}","comments_url":"https://api.github.com/repos/SirCmpwn/sway/comments{/number}","issue_comment_url":"https://api.github.com/repos/SirCmpwn/sway/issues/comments{/number}","contents_url":"https://api.github.com/repos/SirCmpwn/sway/contents/{+path}","compare_url":"https://api.github.com/repos/SirCmpwn/sway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SirCmpwn/sway/merges","archive_url":"https://api.github.com/repos/SirCmpwn/sway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SirCmpwn/sway/downloads","issues_url":"https://api.github.com/repos/SirCmpwn/sway/issues{/number}","pulls_url":"https://api.github.com/repos/SirCmpwn/sway/pulls{/number}","milestones_url":"https://api.github.com/repos/SirCmpwn/sway/milestones{/number}","notifications_url":"https://api.github.com/repos/SirCmpwn/sway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SirCmpwn/sway/labels{/name}","releases_url":"https://api.github.com/repos/SirCmpwn/sway/releases{/id}","created_at":"2015-08-05T01:31:45Z","updated_at":"2016-01-04T21:54:35Z","pushed_at":"2016-01-05T01:30:54Z","git_url":"git://github.com/SirCmpwn/sway.git","ssh_url":"git@github.com:SirCmpwn/sway.git","clone_url":"https://github.com/SirCmpwn/sway.git","svn_url":"https://github.com/SirCmpwn/sway","homepage":"http://swaywm.org/","size":3685,"stargazers_count":791,"watchers_count":791,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":61,"mirror_url":null,"open_issues_count":30,"forks":61,"open_issues":30,"watchers":791,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SirCmpwn/sway/pulls/434"},"html":{"href":"https://github.com/SirCmpwn/sway/pull/434"},"issue":{"href":"https://api.github.com/repos/SirCmpwn/sway/issues/434"},"comments":{"href":"https://api.github.com/repos/SirCmpwn/sway/issues/434/comments"},"review_comments":{"href":"https://api.github.com/repos/SirCmpwn/sway/pulls/434/comments"},"review_comment":{"href":"https://api.github.com/repos/SirCmpwn/sway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SirCmpwn/sway/pulls/434/commits"},"statuses":{"href":"https://api.github.com/repos/SirCmpwn/sway/statuses/c20c63b677c03b17441f0d135b5325e23d65f38d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":111,"deletions":2,"changed_files":8}}