{"action":"created","issue":{"url":"https://api.github.com/repos/swaywm/sway/issues/1589","repository_url":"https://api.github.com/repos/swaywm/sway","labels_url":"https://api.github.com/repos/swaywm/sway/issues/1589/labels{/name}","comments_url":"https://api.github.com/repos/swaywm/sway/issues/1589/comments","events_url":"https://api.github.com/repos/swaywm/sway/issues/1589/events","html_url":"https://github.com/swaywm/sway/issues/1589","id":296147966,"node_id":"MDU6SXNzdWUyOTYxNDc5NjY=","number":1589,"title":"IPC query to list seats","user":{"login":"acrisci","id":3258764,"node_id":"MDQ6VXNlcjMyNTg3NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3258764?v=4","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-11T00:43:48Z","updated_at":"2018-08-04T16:43:21Z","closed_at":null,"author_association":"MEMBER","body":"Create an ipc command to list seats and get info.\r\n\r\nExample:\r\n\r\n```\r\nswaymsg -t get_seats\r\n```\r\n\r\nIt should return seat info like what devices are attached, the currently focused container, and the name of the seat.\r\n\r\nPossibly like this:\r\n\r\n```json\r\n[\r\n  {\r\n    \"name\": \"seat0\",\r\n    \"focused\": \"ID\",\r\n    \"devices\": [\r\n      \"1234:5687:Some_Keyboard\",\r\n      \"8489:9582:Some_Mouse\"\r\n    ]\r\n  }\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/swaywm/sway/issues/comments/410461996","html_url":"https://github.com/swaywm/sway/issues/1589#issuecomment-410461996","issue_url":"https://api.github.com/repos/swaywm/sway/issues/1589","id":410461996,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ2MTk5Ng==","user":{"login":"ianyfan","id":7979838,"node_id":"MDQ6VXNlcjc5Nzk4Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7979838?v=4","gravatar_id":"","url":"https://api.github.com/users/ianyfan","html_url":"https://github.com/ianyfan","followers_url":"https://api.github.com/users/ianyfan/followers","following_url":"https://api.github.com/users/ianyfan/following{/other_user}","gists_url":"https://api.github.com/users/ianyfan/gists{/gist_id}","starred_url":"https://api.github.com/users/ianyfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianyfan/subscriptions","organizations_url":"https://api.github.com/users/ianyfan/orgs","repos_url":"https://api.github.com/users/ianyfan/repos","events_url":"https://api.github.com/users/ianyfan/events{/privacy}","received_events_url":"https://api.github.com/users/ianyfan/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T16:43:21Z","updated_at":"2018-08-04T16:43:21Z","author_association":"CONTRIBUTOR","body":"What does this still require?"}}
{"actor":{"display_login":"ianyfan"}}