3 ms·
For those on Mac, Slate will do the same thing: https://github.com/jigish/slate https://github.com/jigish/slate
by mikeokner 10y ago
For those on Mac, Slate will do the same thing: https://github.com/jigish/slate https://github.com/jigish/slate
- mwfunk 10y agoActually for those on the Mac, OS X will do the same thing. It tries to at least (not 100% reliable).
- mikeokner 10y ago"xoutputd is a daemon that monitors the connection state of outputs and then executes commands based on defined rules." I'm not aware of anything built in to OS X that allows you to execute scripts to perform custom actions when displays are connected/disconnected. OS X just tries to replicate the last layout you had. * Plugged into your desk monitor? You can have Slate hide Steam and put MacVim & iTerm side by side. * Plugged into your TV? You can have Slate run a script to make sure your Plex server is up and then full-screen your browser. * Etc.
- nasalgoat 10y agoSadly, Slate hasn't been updated in three years and recent El Capitan releases has broken it for certain applications, most importantly iTerm2.
- Carrok 10y agoI would recommend Hammerspoon for this type of automation. http://www.hammerspoon.org/ http://www.hammerspoon.org/