{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/176","repository_url":"https://api.github.com/repos/ultrabug/py3status","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/176/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/176/events","html_url":"https://github.com/ultrabug/py3status/pull/176","id":129923548,"number":176,"title":"Universal module options","user":{"login":"cornerman","id":1043127,"avatar_url":"https://avatars.githubusercontent.com/u/1043127?v=3","gravatar_id":"","url":"https://api.github.com/users/cornerman","html_url":"https://github.com/cornerman","followers_url":"https://api.github.com/users/cornerman/followers","following_url":"https://api.github.com/users/cornerman/following{/other_user}","gists_url":"https://api.github.com/users/cornerman/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerman/subscriptions","organizations_url":"https://api.github.com/users/cornerman/orgs","repos_url":"https://api.github.com/users/cornerman/repos","events_url":"https://api.github.com/users/cornerman/events{/privacy}","received_events_url":"https://api.github.com/users/cornerman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ultrabug/py3status/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2016-01-30T01:14:33Z","updated_at":"2016-03-30T12:04:06Z","closed_at":"2016-03-30T10:10:21Z","pull_request":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/176","html_url":"https://github.com/ultrabug/py3status/pull/176","diff_url":"https://github.com/ultrabug/py3status/pull/176.diff","patch_url":"https://github.com/ultrabug/py3status/pull/176.patch"},"body":"Introduce universal module options like [i3status](https://i3wm.org/i3status/manpage.html#_universal_module_options), which can be used in each module block. Some user modules already implemented this functionality themselves, but i think it is preferable to handle this once for all modules.\r\n\r\nThe first commits adds the two options ```min_width``` and ```align```, like with i3status. The second commit additionally adds ```separator``` and ```separator_block_width```, which are defined in the [i3bar protocol](https://i3wm.org/docs/i3bar-protocol.html#_blocks_in_detail).\r\n\r\nI have updated the user modules accordingly, but two modules (bluetooth and nvidia-temp) already made use of the ```separator``` property for another purpose. So I renamed these two properties, which might break backwards compatibility. What do you think?"},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/203397755","html_url":"https://github.com/ultrabug/py3status/pull/176#issuecomment-203397755","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/176","id":203397755,"user":{"login":"cornerman","id":1043127,"avatar_url":"https://avatars.githubusercontent.com/u/1043127?v=3","gravatar_id":"","url":"https://api.github.com/users/cornerman","html_url":"https://github.com/cornerman","followers_url":"https://api.github.com/users/cornerman/followers","following_url":"https://api.github.com/users/cornerman/following{/other_user}","gists_url":"https://api.github.com/users/cornerman/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerman/subscriptions","organizations_url":"https://api.github.com/users/cornerman/orgs","repos_url":"https://api.github.com/users/cornerman/repos","events_url":"https://api.github.com/users/cornerman/events{/privacy}","received_events_url":"https://api.github.com/users/cornerman/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T12:04:06Z","updated_at":"2016-03-30T12:04:06Z","body":"Added some documentation for the universal module options in this wiki fork: https://github.com/cornerman/py3status-wiki"}}