Live data from Hacker News

Hydra: A lightweight OS X window manager with a powerful API

github.com

71–80 of 157 posts

Re: Hydra: A lightweight OS X window manager with a powerful API

#71

If you're looking for a window manager for OSX without having to actually configure anything, you can try using Spectacle: http://spectacleapp.com/ For instance on my imac 27'' I have Option+Command+Left|Right keys mapped to side (similar to windows 7. And I can also have 4 windows open at once using Shift+Option+Command+Up|Down|Left|Right to move them to the different corners. Works really well with less than 2 minu…

Agreed! Another long time user of Spectacle.

Re: Hydra: A lightweight OS X window manager with a powerful API

#72
Looks really cool! I was using [slate](https://github.com/jigish/slate), but it seems to be abandonware.

I have a couple of things I'd like:

- A [Divvy](http://mizage.com/divvy/)-style grid. When I used Divvy, this really made a dramatic difference in my window management - Rich Spaces/Mission Control support. It'd be great to send windows to certain spaces, make spaces for windows, etc.

I'm excited to write a Hydra config for myself, it seems great!

Re: Hydra: A lightweight OS X window manager with a powerful API

#73
post #43

If you're looking for a window manager for OSX without having to actually configure anything, you can try using Spectacle: http://spectacleapp.com/ For instance on my imac 27'' I have Option+Command+Left|Right keys mapped to side (similar to windows 7. And I can also have 4 windows open at once using Shift+Option+Command+Up|Down|Left|Right to move them to the different corners. Works really well with less than 2 minu…

I can't find the minimum OSX version on the Spectacle site or github. Do you have any idea which one it is?

ShiftIt is extremely similar to Spectacle (I use both on different machines) and should be functional back to 10.6.

https://github.com/fikovnik/ShiftIt

Re: Hydra: A lightweight OS X window manager with a powerful API

#74
post #43

If you're looking for a window manager for OSX without having to actually configure anything, you can try using Spectacle: http://spectacleapp.com/ For instance on my imac 27'' I have Option+Command+Left|Right keys mapped to side (similar to windows 7. And I can also have 4 windows open at once using Shift+Option+Command+Up|Down|Left|Right to move them to the different corners. Works really well with less than 2 minu…

I can't find the minimum OSX version on the Spectacle site or github. Do you have any idea which one it is?

Spectacle should work on 10.6+ according to it's Info.plist: LSMinimumSystemVersion 10.6

Re: Hydra: A lightweight OS X window manager with a powerful API

#75

I miss my days on Ubuntu with i3 tiling window manager. I currently use an app called Amethyst[1] but find it to be a bit buggy at times and just doesn't live up to i3 or awesome. I wonder if hydra can be used as a launch point to create a better tiling window manager for OSX. I'm not familiar with the APIs that OSX exposes, if any, to do things like window management but it would be awesome to see some more control…

Amethyst is the first tiling window manager I've used for any substantial length of time. I made my desktop transition from NetBSD -> OSX before tiling window managers were really much used. Amethyst gets props from me in being the first that has worked intuitively and stabily such that I've actually stuck with it for any length of time. As for Linux, I realize that I'm personally in a place where leaving OSX would c…

I was in the same position and switched to Arch long ago. Power management in my MacBook Air 11 2013 is as good as in OS X, if not better. This sounds like a bold statement, but mind that it's almost 100% Intel hardware. Intel funded powertop, which is a utility that allows you to track and optimize software and hardware power usage.

Even Linus himself used this machine for quite long. He then moved on to a Chromebook Pixel. These days he seems to be using a Vaio.

Re: Hydra: A lightweight OS X window manager with a powerful API

#76

Earlier quoted context omitted.

I find it great that you've opted for Lua over JS. I see far too many projects with JS shoveled in where Lua would be a better, cleaner, and simpler fit.

I'm very glad to hear that. I was expecting a lot of people to be disappointed that it's not JS, but honestly I think Lua is a lot cleaner and simpler, and it is just so small and easy to integrate with in C, it's really hard not to use it in a project!

Put me on the list of disappointed that it's not JS.

Re: Hydra: A lightweight OS X window manager with a powerful API

#78

Earlier quoted context omitted.

Amethyst is the first tiling window manager I've used for any substantial length of time. I made my desktop transition from NetBSD -> OSX before tiling window managers were really much used. Amethyst gets props from me in being the first that has worked intuitively and stabily such that I've actually stuck with it for any length of time. As for Linux, I realize that I'm personally in a place where leaving OSX would c…

Having emacs-like keybindings by default in all native text fields and text boxes (including this one) is a huge plus for OS X. In Linux, I had to write everything in emacs and copy/paste it into the field in question. Fine for emails, not so great for address bars, impossible for dmenu, etc.

I have emacs-like keybindings in most Linux apps, including dmenu. For some apps that don't support this by default, you can configure it via their gtk backend.

Re: Hydra: A lightweight OS X window manager with a powerful API

#79

Earlier quoted context omitted.

I find it great that you've opted for Lua over JS. I see far too many projects with JS shoveled in where Lua would be a better, cleaner, and simpler fit.

I'm very glad to hear that. I was expecting a lot of people to be disappointed that it's not JS, but honestly I think Lua is a lot cleaner and simpler, and it is just so small and easy to integrate with in C, it's really hard not to use it in a project!

I'm one of those people still using Zephyros, mostly so that I could keep using beer (https://github.com/v-yarotsky/beer). I skipped Phoenix but might give Hydra a try (knowing no Lua though) just to see what you've been doing with it.

Re: Hydra: A lightweight OS X window manager with a powerful API

#80
post #75

Earlier quoted context omitted.

Amethyst is the first tiling window manager I've used for any substantial length of time. I made my desktop transition from NetBSD -> OSX before tiling window managers were really much used. Amethyst gets props from me in being the first that has worked intuitively and stabily such that I've actually stuck with it for any length of time. As for Linux, I realize that I'm personally in a place where leaving OSX would c…

I was in the same position and switched to Arch long ago. Power management in my MacBook Air 11 2013 is as good as in OS X, if not better. This sounds like a bold statement, but mind that it's almost 100% Intel hardware. Intel funded powertop, which is a utility that allows you to track and optimize software and hardware power usage. Even Linus himself used this machine for quite long. He then moved on to a Chromeboo…

How long does your battery last under Linux, with reasonable screen brightness? What's the battery discharge rate indicated by powertop? Are you using a full desktop environment?
Post reply on HN