{"action":"created","issue":{"url":"https://api.github.com/repos/SirCmpwn/sway/issues/17","labels_url":"https://api.github.com/repos/SirCmpwn/sway/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/SirCmpwn/sway/issues/17/comments","events_url":"https://api.github.com/repos/SirCmpwn/sway/issues/17/events","html_url":"https://github.com/SirCmpwn/sway/pull/17","id":100357425,"number":17,"title":"Workspace and varsub fixes.","user":{"login":"Luminarys","id":8228526,"avatar_url":"https://avatars.githubusercontent.com/u/8228526?v=3","gravatar_id":"","url":"https://api.github.com/users/Luminarys","html_url":"https://github.com/Luminarys","followers_url":"https://api.github.com/users/Luminarys/followers","following_url":"https://api.github.com/users/Luminarys/following{/other_user}","gists_url":"https://api.github.com/users/Luminarys/gists{/gist_id}","starred_url":"https://api.github.com/users/Luminarys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luminarys/subscriptions","organizations_url":"https://api.github.com/users/Luminarys/orgs","repos_url":"https://api.github.com/users/Luminarys/repos","events_url":"https://api.github.com/users/Luminarys/events{/privacy}","received_events_url":"https://api.github.com/users/Luminarys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T16:52:54Z","updated_at":"2015-08-11T17:26:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SirCmpwn/sway/pulls/17","html_url":"https://github.com/SirCmpwn/sway/pull/17","diff_url":"https://github.com/SirCmpwn/sway/pull/17.diff","patch_url":"https://github.com/SirCmpwn/sway/pull/17.patch"},"body":"I've fixed stuff so that the initially spawned workspace will take on the first defined user workspace name, or default to a predefined value. workspace_next_name has been renamed to workspace_init_name, because(as far as I know) the only time a workspace will be created without a name given explicitly is at startup time. All other workspace commands either specify a name, or refer to an existing workspace. \r\n\r\nIn addition, I've altered the subsitution so that it applies to all arguments, since there are many i3 commands which use multiple variables in them."},"comment":{"url":"https://api.github.com/repos/SirCmpwn/sway/issues/comments/129978971","html_url":"https://github.com/SirCmpwn/sway/pull/17#issuecomment-129978971","issue_url":"https://api.github.com/repos/SirCmpwn/sway/issues/17","id":129978971,"user":{"login":"Luminarys","id":8228526,"avatar_url":"https://avatars.githubusercontent.com/u/8228526?v=3","gravatar_id":"","url":"https://api.github.com/users/Luminarys","html_url":"https://github.com/Luminarys","followers_url":"https://api.github.com/users/Luminarys/followers","following_url":"https://api.github.com/users/Luminarys/following{/other_user}","gists_url":"https://api.github.com/users/Luminarys/gists{/gist_id}","starred_url":"https://api.github.com/users/Luminarys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luminarys/subscriptions","organizations_url":"https://api.github.com/users/Luminarys/orgs","repos_url":"https://api.github.com/users/Luminarys/repos","events_url":"https://api.github.com/users/Luminarys/events{/privacy}","received_events_url":"https://api.github.com/users/Luminarys/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T17:26:03Z","updated_at":"2015-08-11T17:26:03Z","body":"That's my bad, forgot about the multiple output stuff. It still leaves the issue of initial workspaces being named incorrectly, meaning that if you switch out of your first workspace you can't get back to it. Do you have some idea in mind for a workaround for this?"}}