For those on Mac, Slate will do the same thing: https://github.com/jigish/slate
I would recommend Hammerspoon for this type of automation. http://www.hammerspoon.org/
31–33 of 33 posts
For those on Mac, Slate will do the same thing: https://github.com/jigish/slate
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…
https://github.com/rndstr/dotfiles/blob/master/bin/monitor-h...