{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/sourcegraph/thyme/pulls/13","id":81572125,"html_url":"https://github.com/sourcegraph/thyme/pull/13","diff_url":"https://github.com/sourcegraph/thyme/pull/13.diff","patch_url":"https://github.com/sourcegraph/thyme/pull/13.patch","issue_url":"https://api.github.com/repos/sourcegraph/thyme/issues/13","number":13,"state":"open","locked":false,"title":"Only report windows on current desktop as \"visible\"","user":{"login":"samstokes","id":20528,"avatar_url":"https://avatars.githubusercontent.com/u/20528?v=3","gravatar_id":"","url":"https://api.github.com/users/samstokes","html_url":"https://github.com/samstokes","followers_url":"https://api.github.com/users/samstokes/followers","following_url":"https://api.github.com/users/samstokes/following{/other_user}","gists_url":"https://api.github.com/users/samstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/samstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samstokes/subscriptions","organizations_url":"https://api.github.com/users/samstokes/orgs","repos_url":"https://api.github.com/users/samstokes/repos","events_url":"https://api.github.com/users/samstokes/events{/privacy}","received_events_url":"https://api.github.com/users/samstokes/received_events","type":"User","site_admin":false},"body":"Prior to this change, on my Linux machine ([XUbuntu](http://xubuntu.org/) + [XMonad](http://xmonad.org/)), Thyme would report all open windows as visible, even windows on other virtual desktops.  Reporting those windows as \"visible\" doesn't match the colloquial definition, and also seems to go against the intended use case.\r\n\r\nThis checks the current desktop via `wmctrl -d` and then filters out windows on other desktops from the visible list.","created_at":"2016-08-17T01:38:10Z","updated_at":"2016-08-17T01:38:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3cfc17aca18ccda0f735bfa5de72bbcb084a4f70","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sourcegraph/thyme/pulls/13/commits","review_comments_url":"https://api.github.com/repos/sourcegraph/thyme/pulls/13/comments","review_comment_url":"https://api.github.com/repos/sourcegraph/thyme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcegraph/thyme/issues/13/comments","statuses_url":"https://api.github.com/repos/sourcegraph/thyme/statuses/ab48890aa26faf5a8b61ba2a3a72a9bd3f4c3f52","head":{"label":"samstokes:master","ref":"master","sha":"ab48890aa26faf5a8b61ba2a3a72a9bd3f4c3f52","user":{"login":"samstokes","id":20528,"avatar_url":"https://avatars.githubusercontent.com/u/20528?v=3","gravatar_id":"","url":"https://api.github.com/users/samstokes","html_url":"https://github.com/samstokes","followers_url":"https://api.github.com/users/samstokes/followers","following_url":"https://api.github.com/users/samstokes/following{/other_user}","gists_url":"https://api.github.com/users/samstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/samstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samstokes/subscriptions","organizations_url":"https://api.github.com/users/samstokes/orgs","repos_url":"https://api.github.com/users/samstokes/repos","events_url":"https://api.github.com/users/samstokes/events{/privacy}","received_events_url":"https://api.github.com/users/samstokes/received_events","type":"User","site_admin":false},"repo":{"id":65866170,"name":"thyme","full_name":"samstokes/thyme","owner":{"login":"samstokes","id":20528,"avatar_url":"https://avatars.githubusercontent.com/u/20528?v=3","gravatar_id":"","url":"https://api.github.com/users/samstokes","html_url":"https://github.com/samstokes","followers_url":"https://api.github.com/users/samstokes/followers","following_url":"https://api.github.com/users/samstokes/following{/other_user}","gists_url":"https://api.github.com/users/samstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/samstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samstokes/subscriptions","organizations_url":"https://api.github.com/users/samstokes/orgs","repos_url":"https://api.github.com/users/samstokes/repos","events_url":"https://api.github.com/users/samstokes/events{/privacy}","received_events_url":"https://api.github.com/users/samstokes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samstokes/thyme","description":"Automatically track which applications you use and for how long.","fork":true,"url":"https://api.github.com/repos/samstokes/thyme","forks_url":"https://api.github.com/repos/samstokes/thyme/forks","keys_url":"https://api.github.com/repos/samstokes/thyme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samstokes/thyme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samstokes/thyme/teams","hooks_url":"https://api.github.com/repos/samstokes/thyme/hooks","issue_events_url":"https://api.github.com/repos/samstokes/thyme/issues/events{/number}","events_url":"https://api.github.com/repos/samstokes/thyme/events","assignees_url":"https://api.github.com/repos/samstokes/thyme/assignees{/user}","branches_url":"https://api.github.com/repos/samstokes/thyme/branches{/branch}","tags_url":"https://api.github.com/repos/samstokes/thyme/tags","blobs_url":"https://api.github.com/repos/samstokes/thyme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samstokes/thyme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samstokes/thyme/git/refs{/sha}","trees_url":"https://api.github.com/repos/samstokes/thyme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samstokes/thyme/statuses/{sha}","languages_url":"https://api.github.com/repos/samstokes/thyme/languages","stargazers_url":"https://api.github.com/repos/samstokes/thyme/stargazers","contributors_url":"https://api.github.com/repos/samstokes/thyme/contributors","subscribers_url":"https://api.github.com/repos/samstokes/thyme/subscribers","subscription_url":"https://api.github.com/repos/samstokes/thyme/subscription","commits_url":"https://api.github.com/repos/samstokes/thyme/commits{/sha}","git_commits_url":"https://api.github.com/repos/samstokes/thyme/git/commits{/sha}","comments_url":"https://api.github.com/repos/samstokes/thyme/comments{/number}","issue_comment_url":"https://api.github.com/repos/samstokes/thyme/issues/comments{/number}","contents_url":"https://api.github.com/repos/samstokes/thyme/contents/{+path}","compare_url":"https://api.github.com/repos/samstokes/thyme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samstokes/thyme/merges","archive_url":"https://api.github.com/repos/samstokes/thyme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samstokes/thyme/downloads","issues_url":"https://api.github.com/repos/samstokes/thyme/issues{/number}","pulls_url":"https://api.github.com/repos/samstokes/thyme/pulls{/number}","milestones_url":"https://api.github.com/repos/samstokes/thyme/milestones{/number}","notifications_url":"https://api.github.com/repos/samstokes/thyme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samstokes/thyme/labels{/name}","releases_url":"https://api.github.com/repos/samstokes/thyme/releases{/id}","deployments_url":"https://api.github.com/repos/samstokes/thyme/deployments","created_at":"2016-08-17T01:33:42Z","updated_at":"2016-08-17T01:33:44Z","pushed_at":"2016-08-17T01:35:11Z","git_url":"git://github.com/samstokes/thyme.git","ssh_url":"git@github.com:samstokes/thyme.git","clone_url":"https://github.com/samstokes/thyme.git","svn_url":"https://github.com/samstokes/thyme","homepage":"","size":327,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"sourcegraph:master","ref":"master","sha":"c6363bcc37a790296312174eae78d3de80d4b8d4","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":65177522,"name":"thyme","full_name":"sourcegraph/thyme","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/thyme","description":"Automatically track which applications you use and for how long.","fork":false,"url":"https://api.github.com/repos/sourcegraph/thyme","forks_url":"https://api.github.com/repos/sourcegraph/thyme/forks","keys_url":"https://api.github.com/repos/sourcegraph/thyme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/thyme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/thyme/teams","hooks_url":"https://api.github.com/repos/sourcegraph/thyme/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/thyme/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/thyme/events","assignees_url":"https://api.github.com/repos/sourcegraph/thyme/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/thyme/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/thyme/tags","blobs_url":"https://api.github.com/repos/sourcegraph/thyme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/thyme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/thyme/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/thyme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/thyme/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/thyme/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/thyme/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/thyme/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/thyme/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/thyme/subscription","commits_url":"https://api.github.com/repos/sourcegraph/thyme/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/thyme/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/thyme/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/thyme/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/thyme/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/thyme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/thyme/merges","archive_url":"https://api.github.com/repos/sourcegraph/thyme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/thyme/downloads","issues_url":"https://api.github.com/repos/sourcegraph/thyme/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/thyme/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/thyme/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/thyme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/thyme/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/thyme/releases{/id}","deployments_url":"https://api.github.com/repos/sourcegraph/thyme/deployments","created_at":"2016-08-08T06:15:10Z","updated_at":"2016-08-17T01:37:42Z","pushed_at":"2016-08-17T01:38:10Z","git_url":"git://github.com/sourcegraph/thyme.git","ssh_url":"git@github.com:sourcegraph/thyme.git","clone_url":"https://github.com/sourcegraph/thyme.git","svn_url":"https://github.com/sourcegraph/thyme","homepage":"","size":327,"stargazers_count":215,"watchers_count":215,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":12,"forks":5,"open_issues":12,"watchers":215,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/thyme/pulls/13"},"html":{"href":"https://github.com/sourcegraph/thyme/pull/13"},"issue":{"href":"https://api.github.com/repos/sourcegraph/thyme/issues/13"},"comments":{"href":"https://api.github.com/repos/sourcegraph/thyme/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcegraph/thyme/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcegraph/thyme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcegraph/thyme/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/sourcegraph/thyme/statuses/ab48890aa26faf5a8b61ba2a3a72a9bd3f4c3f52"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"samstokes"}}