{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/593","repository_url":"https://api.github.com/repos/ultrabug/py3status","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/593/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/593/events","html_url":"https://github.com/ultrabug/py3status/issues/593","id":194617656,"number":593,"title":"xrandr _pos does not work with dashes in output names","user":{"login":"mridcully","id":5960109,"avatar_url":"https://avatars.githubusercontent.com/u/5960109?v=3","gravatar_id":"","url":"https://api.github.com/users/mridcully","html_url":"https://github.com/mridcully","followers_url":"https://api.github.com/users/mridcully/followers","following_url":"https://api.github.com/users/mridcully/following{/other_user}","gists_url":"https://api.github.com/users/mridcully/gists{/gist_id}","starred_url":"https://api.github.com/users/mridcully/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mridcully/subscriptions","organizations_url":"https://api.github.com/users/mridcully/orgs","repos_url":"https://api.github.com/users/mridcully/repos","events_url":"https://api.github.com/users/mridcully/events{/privacy}","received_events_url":"https://api.github.com/users/mridcully/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-09T15:04:34Z","updated_at":"2016-12-13T12:09:00Z","closed_at":null,"body":"My outputs are named \"DP-0\", ..\r\n\r\nThis is my config:\r\n\r\nxrandr {\r\n  DP-4_pos = \"right-of DP-0\"\r\n}\r\n\r\nThis does not work. I think the problem is in line 257 of xrandr.py. If I change it to remove the dashes, and update my config accordingly, it works.\r\n\r\npos = getattr(self, '{}_pos'.format(output.replace('-','')), '0x0')\r\n"},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/266722668","html_url":"https://github.com/ultrabug/py3status/issues/593#issuecomment-266722668","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/593","id":266722668,"user":{"login":"mridcully","id":5960109,"avatar_url":"https://avatars.githubusercontent.com/u/5960109?v=3","gravatar_id":"","url":"https://api.github.com/users/mridcully","html_url":"https://github.com/mridcully","followers_url":"https://api.github.com/users/mridcully/followers","following_url":"https://api.github.com/users/mridcully/following{/other_user}","gists_url":"https://api.github.com/users/mridcully/gists{/gist_id}","starred_url":"https://api.github.com/users/mridcully/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mridcully/subscriptions","organizations_url":"https://api.github.com/users/mridcully/orgs","repos_url":"https://api.github.com/users/mridcully/repos","events_url":"https://api.github.com/users/mridcully/events{/privacy}","received_events_url":"https://api.github.com/users/mridcully/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T12:09:00Z","updated_at":"2016-12-13T12:09:00Z","body":"i am using arch linux.\r\n\r\ni am sure there is a better solution than the hack i posted before. is it possible to escape the name of the argument, e.g. \"DP-4_pos\" in the configuration file?"}}
{"actor":{"display_login":"mridcully"}}