News for hackers. Stuff that matters.

jlpc

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.
I'm glad it is useful for someone else.
I wonder why I didn't think about it when looking for a solution at my problem.
I use dwm on my laptop, and I have 2 external monitors.

Every morning I had to make an xrandr call when I plugged them, and another one at the end of the day when I unplugged them to make my window manager aware of my screen layout.

I was tired so I automated the thing.

Thank you for those links, I actually tried to find something like this before implementing my own solution. I guess I didn't search enough.