{"action":"created","issue":{"url":"https://api.github.com/repos/wmutils/contrib/issues/42","repository_url":"https://api.github.com/repos/wmutils/contrib","labels_url":"https://api.github.com/repos/wmutils/contrib/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/wmutils/contrib/issues/42/comments","events_url":"https://api.github.com/repos/wmutils/contrib/issues/42/events","html_url":"https://github.com/wmutils/contrib/issues/42","id":186151162,"number":42,"title":"Multiple monitors","user":{"login":"pockata","id":543561,"avatar_url":"https://avatars.githubusercontent.com/u/543561?v=3","gravatar_id":"","url":"https://api.github.com/users/pockata","html_url":"https://github.com/pockata","followers_url":"https://api.github.com/users/pockata/followers","following_url":"https://api.github.com/users/pockata/following{/other_user}","gists_url":"https://api.github.com/users/pockata/gists{/gist_id}","starred_url":"https://api.github.com/users/pockata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pockata/subscriptions","organizations_url":"https://api.github.com/users/pockata/orgs","repos_url":"https://api.github.com/users/pockata/repos","events_url":"https://api.github.com/users/pockata/events{/privacy}","received_events_url":"https://api.github.com/users/pockata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-30T17:52:12Z","updated_at":"2016-10-30T21:26:22Z","closed_at":null,"body":"Hello,\r\n\r\nI know this topic has been discussed before and I know that the maintainers are not particularly interested in merging multi-monitor code, however multi-monitors are pretty common nowadays.  \r\n\r\nI myself use a laptop on a daily basis while traveling to work, at work the laptop is docked and uses two external monitors, and ad home attached to an eGPU setup for even more attached monitors. And all this is done while using wmutils.  \r\n\r\nI've created a set of utilities called [mmutils](https://github.com/pockata/mmutils) (yes, zero imagination there) which provide a really similar way of interacting with monitor information to the way wmutils does with windows.  \r\n\r\nA lot of the code is borrowed from wmutils and lemonbar, but my C knowledge and experience are minimal and my additions might have impacted the overall quality.  \r\nEven though I've been using it for a month or two without any problems, I'd like other people to take a look and share some ideas on how I might improve it further.  \r\n\r\nI wouldn't imagine you ever merging this code in the repository, but if you like the code and how the utilities operate, you can add a link to the repository in the readme as a sort of recommended 3rd party helper utility so people who are interested in multi-monitor setups can benefit. That's my end goal.  \r\n\r\nLet me know what you think."},"comment":{"url":"https://api.github.com/repos/wmutils/contrib/issues/comments/257180504","html_url":"https://github.com/wmutils/contrib/issues/42#issuecomment-257180504","issue_url":"https://api.github.com/repos/wmutils/contrib/issues/42","id":257180504,"user":{"login":"z3bratabs","id":9267994,"avatar_url":"https://avatars.githubusercontent.com/u/9267994?v=3","gravatar_id":"","url":"https://api.github.com/users/z3bratabs","html_url":"https://github.com/z3bratabs","followers_url":"https://api.github.com/users/z3bratabs/followers","following_url":"https://api.github.com/users/z3bratabs/following{/other_user}","gists_url":"https://api.github.com/users/z3bratabs/gists{/gist_id}","starred_url":"https://api.github.com/users/z3bratabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3bratabs/subscriptions","organizations_url":"https://api.github.com/users/z3bratabs/orgs","repos_url":"https://api.github.com/users/z3bratabs/repos","events_url":"https://api.github.com/users/z3bratabs/events{/privacy}","received_events_url":"https://api.github.com/users/z3bratabs/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T21:26:22Z","updated_at":"2016-10-30T21:26:22Z","body":"From the readme, the usage seems good. I would perhaps use `lsm -a` to list (a)ll monitors and `lsm` only for currently used monitors. Just another idea as wmutils uses the -a switch to list all existing windows, no matter their state. So it would make `lsw` and `lsm` have the same semantics.\r\n\r\nI like the way mattr works, by checking the window part visible on each monitor, it's a good thing you though about it.\r\n\r\nOne might need the ability to get the monitor id where the cursor is, something like `pfm` for \"print focused monitor\".\r\n\r\nIt would be great to have it integrated with wmutils, either in its own repo, or in core. To do so an update will be needed in util.c. The style of your mmutils will also need to match wmutils', but we can work togetther on this.\r\n\r\nThanks for putting hard work on this!"}}
{"actor":{"display_login":"z3bratabs"}}