{"action":"created","issue":{"url":"https://api.github.com/repos/swaywm/sway/issues/1695","repository_url":"https://api.github.com/repos/swaywm/sway","labels_url":"https://api.github.com/repos/swaywm/sway/issues/1695/labels{/name}","comments_url":"https://api.github.com/repos/swaywm/sway/issues/1695/comments","events_url":"https://api.github.com/repos/swaywm/sway/issues/1695/events","html_url":"https://github.com/swaywm/sway/issues/1695","id":310291549,"node_id":"MDU6SXNzdWUzMTAyOTE1NDk=","number":1695,"title":"How to use assign?","user":{"login":"acklackl","id":25853337,"node_id":"MDQ6VXNlcjI1ODUzMzM3","avatar_url":"https://avatars2.githubusercontent.com/u/25853337?v=4","gravatar_id":"","url":"https://api.github.com/users/acklackl","html_url":"https://github.com/acklackl","followers_url":"https://api.github.com/users/acklackl/followers","following_url":"https://api.github.com/users/acklackl/following{/other_user}","gists_url":"https://api.github.com/users/acklackl/gists{/gist_id}","starred_url":"https://api.github.com/users/acklackl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acklackl/subscriptions","organizations_url":"https://api.github.com/users/acklackl/orgs","repos_url":"https://api.github.com/users/acklackl/repos","events_url":"https://api.github.com/users/acklackl/events{/privacy}","received_events_url":"https://api.github.com/users/acklackl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-01T03:54:28Z","updated_at":"2019-12-19T07:37:33Z","closed_at":"2018-04-01T03:55:04Z","author_association":"NONE","body":"In i3 we could use xprops to find the window class name and use\r\n\r\nassign[class=\"classname\"] workspace 1\r\n\r\nBut in wayland, xprop wouldn't work. How could we use assign in swaywm?"},"comment":{"url":"https://api.github.com/repos/swaywm/sway/issues/comments/567373128","html_url":"https://github.com/swaywm/sway/issues/1695#issuecomment-567373128","issue_url":"https://api.github.com/repos/swaywm/sway/issues/1695","id":567373128,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NzM3MzEyOA==","user":{"login":"tmccombs","id":2541726,"node_id":"MDQ6VXNlcjI1NDE3MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/2541726?v=4","gravatar_id":"","url":"https://api.github.com/users/tmccombs","html_url":"https://github.com/tmccombs","followers_url":"https://api.github.com/users/tmccombs/followers","following_url":"https://api.github.com/users/tmccombs/following{/other_user}","gists_url":"https://api.github.com/users/tmccombs/gists{/gist_id}","starred_url":"https://api.github.com/users/tmccombs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmccombs/subscriptions","organizations_url":"https://api.github.com/users/tmccombs/orgs","repos_url":"https://api.github.com/users/tmccombs/repos","events_url":"https://api.github.com/users/tmccombs/events{/privacy}","received_events_url":"https://api.github.com/users/tmccombs/received_events","type":"User","site_admin":false},"created_at":"2019-12-19T07:37:33Z","updated_at":"2019-12-19T07:37:33Z","author_association":"NONE","body":"`swaymsg -t get_tree` works, but it's certainly not as easy to find the app you care about in the json output as clicking on a window with xprop. "}}
{"actor":{"display_login":"tmccombs"}}