{"action":"created","issue":{"url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/72","repository_url":"https://api.github.com/repos/xmonad/xmonad-contrib","labels_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/72/comments","events_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/72/events","html_url":"https://github.com/xmonad/xmonad-contrib/pull/72","id":169955269,"number":72,"title":"Add TreeSelect action for selecting from many workspaces and X actions","user":{"login":"TomSmeets","id":6740669,"avatar_url":"https://avatars.githubusercontent.com/u/6740669?v=3","gravatar_id":"","url":"https://api.github.com/users/TomSmeets","html_url":"https://github.com/TomSmeets","followers_url":"https://api.github.com/users/TomSmeets/followers","following_url":"https://api.github.com/users/TomSmeets/following{/other_user}","gists_url":"https://api.github.com/users/TomSmeets/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSmeets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSmeets/subscriptions","organizations_url":"https://api.github.com/users/TomSmeets/orgs","repos_url":"https://api.github.com/users/TomSmeets/repos","events_url":"https://api.github.com/users/TomSmeets/events{/privacy}","received_events_url":"https://api.github.com/users/TomSmeets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-08T15:43:57Z","updated_at":"2016-08-22T18:13:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xmonad/xmonad-contrib/pulls/72","html_url":"https://github.com/xmonad/xmonad-contrib/pull/72","diff_url":"https://github.com/xmonad/xmonad-contrib/pull/72.diff","patch_url":"https://github.com/xmonad/xmonad-contrib/pull/72.patch"},"body":"You can select the desired workspace/action with the cursor or hjkl keys\r\n\r\nThis module is fully configurable and very useful if you have a lot of workspaces.\r\nI tryed to document the entire module. For more info look at that module (XMonad.Actions.TreeSelect)\r\n\r\n![Selecting Workspaces](https://wiki.haskell.org/wikiupload/0/0b/Treeselect-Workspace.png)\r\n![Selecting Actions](https://wiki.haskell.org/wikiupload/9/9b/Treeselect-Action.png)"},"comment":{"url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/comments/241500898","html_url":"https://github.com/xmonad/xmonad-contrib/pull/72#issuecomment-241500898","issue_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/72","id":241500898,"user":{"login":"TomSmeets","id":6740669,"avatar_url":"https://avatars.githubusercontent.com/u/6740669?v=3","gravatar_id":"","url":"https://api.github.com/users/TomSmeets","html_url":"https://github.com/TomSmeets","followers_url":"https://api.github.com/users/TomSmeets/followers","following_url":"https://api.github.com/users/TomSmeets/following{/other_user}","gists_url":"https://api.github.com/users/TomSmeets/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSmeets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSmeets/subscriptions","organizations_url":"https://api.github.com/users/TomSmeets/orgs","repos_url":"https://api.github.com/users/TomSmeets/repos","events_url":"https://api.github.com/users/TomSmeets/events{/privacy}","received_events_url":"https://api.github.com/users/TomSmeets/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T18:13:59Z","updated_at":"2016-08-22T18:13:59Z","body":"Thanks for the feedback!\r\n\r\nI think i have found the problem. You might have forgotten to include this part:\r\n\r\n> Then add it to your XMonad Config using the `toWorkspaces` function\r\n> \r\n> > xmonad $ defaultConfig {\r\n> >                                        , workspaces = toWorkspaces myWorkspaces\r\n> >                                        }\r\n\r\nThis is needed because `treeselectWorkspace` expects your `XConfig.workspaces` to be a string representation of your workspace-tree (`myWorkspaces` in this example).\r\n\r\nThe `toWorkspaces` function does this automatically for you.\r\n```\r\n> toWorkspaces [ Node \"Hello\"  [ Node \"World\" [], Node \"Planet\" []]]\r\n[\"Hello\",\"Hello.World\",\"Hello.Planet\"]\r\n```\r\n"}}
{"actor":{"display_login":"TomSmeets"}}