Hacker News new | ask | show | jobs
by jonasmst 2706 days ago
You should try Slate (https://github.com/jigish/slate), it's great for window management once it's set up. I have hotkeys for positioning windows top-, bottom-, left-, and right halves, move windows to the right or left monitor and for displaying a grid that let you define the size and position of the current window by marking an area in the grid. It needs the Accessibility API, though, which may be an issue if your employer doesn't allow sudo access on their computers. Here's my dotfile: https://github.com/Jonasmst/dotfiles/blob/master/.slate
3 comments

Or if you want something with zero set up, use Spectacle https://www.spectacleapp.com/
Thanks, I hadn't heard of this and it's an interesting project. One problem, though, is that if you're like me and a heavy user of iTerm2/tmux, Spectacle seems a bit jittery while it's trying to match the terminal window to the desired window dimensions.
Or if you want something close to i3, try https://koekeishiya.github.io/chunkwm/
Or if you want to write your own WM from scratch, try https://github.com/Hammerspoon/hammerspoon