Live data from Hacker News

Show HN: Change screen layout when connecting/disconnecting monitors

github.com

31–33 of 33 posts

Re: Show HN: Change screen layout when connecting/disconnecting monitors

#32

This is exactly what I needed, gonna put it in my window manager startup script. I already wrote a dock and undock script for my laptop a while ago, which I still had to run manually, so this is the perfect addition to that script. Though I had some problems compiling it. For others who want to try it: On some systems (gentoo here) flex replaces lex and you need to use -lfl to link it, even though lex seems to be usu…

Thank you for your comment, I tested on Debian jessie, and OpenBSD only. I will try to make the build more compatible to other distro/OS.
Post reply on HN