3 ms·
How do you manage multiple monitors with MacOS? I was doing this until recently and every single login involved rearranging my windows because MacOS moves them
by lemming 6y ago
How do you manage multiple monitors with MacOS? I was doing this until recently and every single login involved rearranging my windows because MacOS moves them all to whatever display woke up first.
I finally got sick of this and wrote a Hammerspoon script to deal with this. The config looks like this:
local dualLayout = {
{"Firefox", nil, primary, topLeft, nil, nil},
{"Preview", nil, primary, topLeft, nil, nil},
{"Sublime Text", nil, secondary, topHalf, nil, nil},
{"Slack", nil, secondary, topRight, nil, nil},
{"Notes", nil, secondary, topRight, nil, nil},
{"iTerm2", nil, secondary, topRight, nil, nil},
{"Safari", nil, secondary, topRight, nil, nil},
{"IntelliJ IDEA", "cursive", primary, hs.layout.maximized, nil, nil},
{"IntelliJ IDEA", "community", secondary, hs.layout.maximized, nil, nil},
}
Now when I connect my two external monitors, a quick Ctrl-Alt-Cmd-R lays everything out. It's crap that I have to, but it saved my sanity.
- mulmen 6y agoThis is really cool, thanks. I tend to have one space per task and have at least a Firefox and an iTerm on every one. Just running a single monitor is the way to go for me. The benefits of multiple monitors just doesn't make up for all the fiddling.