Get control over your Mac Windows for Free!

I run a two monitor setup at my day job. One thing that I really want to be able to do is quickly throw a window from one display to the next.

I’ve looked into window managers like Divvy but couldn’t find one that would do that one specific thing for me. That is, until recently.

I came across an open source window manager for OS X called “Slate.” It does a number of really cool things which I’ll explore in upcoming posts. For now though all I can say is Slate can easily take a window and with a hot key press throw it onto another window.

If you want to get better control over your window manager, check out Slate.

As I said, I’ll be sharing more about Slate as I learn about it. In the meantime, here is my slate config file, cobbled together from a couple places around the internet. I don’t recall every source but here’s one.

# put up a Divvy style grid
bind pad* grid padding:5 0:6,2 1:8,3

# Let's check out Slate's switcher
#bind tab:cmd switch

alias hyper ctrl;alt;cmd

# Setup Abstract positions to stick things in big quadrants on my screen
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY

# Abstract positions
#alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
#alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
#alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeYø
#alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2
#alias topright corner top-right resize:screenSizeX/2;screenSizeY/2
#alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2
#alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2

# Abstract positions
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2
alias topright corner top-right resize:screenSizeX/2;screenSizeY/2
alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2
alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2


#Bind those positions to the nd pad1 ${bottomleft}
bind pad1:${hyper} ${bottomleft}
bind pad2:${hyper} push bottom bar-resize:screenSizeY/2
bind pad3:${hyper} ${bottomright}
bind pad4:${hyper} ${lefthalf}
bind pad5:${hyper} ${full}
bind pad6:${hyper} ${righthalf}
bind pad7:${hyper} ${topleft}
bind pad8:${hyper} push top bar-resize:screenSizeY/2
bind pad9:${hyper} ${topright}

bind 1:${hyper} ${lefthalf}
bind 2:${hyper} ${righthalf}
bind 3:${hyper} ${full}


#Throws
# Throws
bind n:${hyper} throw next
bind right:${hyper} throw right resize
bind left:${hyper}  throw left  resize

bind f:${hyper} throw 1 resize
bind g:${hyper} throw 0 resize

bind space:${hyper} hint ASDFGHJKLQWERTYUIOPCVBN
About Joe Cotellese

Joe is the founder of Learning OS X. He's often spending way too much time playing with new Mac software in order to improve his ability at "Getting Things Done."

Comments

  1. Cris Bennett says:

    Haven’t seen Slate, but it’s also worth having a look at Moom (http://manytricks.com/moom/). This has a ‘move to display’ action, with control over direction of movement and whether or not to proportionally resize the window being moved. Very nice and easy to set up with the desired keybinding, etc.

    • Joe Cotellese says:

      I tried Moom some time ago exactly for that reason. I don’t recall what I didn’t like about it though. I’ll have to dig it up and try again because even though Slate is really cool configuring it is a bit difficult.

      It’s really cool that there are so many options for managing your windows on OS X.

  2. Cris Bennett says:

    Well, at risk of over-advocating, I do recommend giving Moom another go. It’s very easy to set up to do the things I use all the time (put windows quickly into preestablished quadrants, onto other screens, ‘grown’ to full-size in either dimension, etc).

    That said, I’d ideally like a full-blown quasi-intelligent tiling window manager. Deciding where to put windows is a waste of my (precious, probably declining, and not always terribly efficient) neurons. I’m sure silicon could do a better job at it.

  3. Hey,
    have you tried http://hyperdock.bahoom.com ? its nice app which gives you a great functionality towards windows management.

  4. Cris Bennett says:

    I also see that Optimal Layout (http://most-advantageous.com/optimal-layout/) is on sale right now. Might also be worth a look.

Speak Your Mind

*