Live data from Hacker News

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

github.com

41–50 of 157 posts

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

#42
post #8

For the "closed-source-but-non-programming-power-user" alternative to this, I'm a huge advocate of BetterTouchTool ( http://www.boastr.net/ ). You can easily bind window snaps to everything from keypresses, to four-finger-sweeps on the trackpad, to dragging window titlebars to the screen corners. Also it's so much fun to infuriate friends when they try to use my trackpad and it moves windows all over the place.

I Quickly had a look on all the window manager alternatives mentioned here. Currently I use flexiglass, but I use it for one reason only. It allows me to move windows like in linux. When holding Mouse button 1 + alt anywhere in the window I can move it. I really like this feature, I never use the titlebar to move windows. Do any of the alternatives (or hydra it self) allow me to do this? I'd like to try them out. See…

The 1.1 milestone has plans for "mouse-moved" and "modifiers-changed" events that you can register for, which would let you create a feature very similar to this, where if you hold down option and move the mouse, it will move the window under the mouse with it. I'll file an issue to investigate if it's possible to register for "mouse-clicked" events and override them to be no-ops (so that you don't actually click into the window). That sounds like a fun feature :)

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

#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?

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

#44

Any idea what his require grid is referring to in his own config file? link - https://github.com/sdegutis/dotfiles/blob/osx/home/.hydra/in...

It refers to the grid.lua[1] file in the same directory as that init.lua. It's also found in the wiki[2]. [1]: https://github.com/sdegutis/dotfiles/blob/osx/home/.hydra/gr... [2]: https://github.com/sdegutis/hydra/wiki/Useful-Hydra-librarie...

[deleted]

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

#45
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?

Sorry I'm not sure either, I know it works with latest OSX and the one before that.

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

#46

Earlier quoted context omitted.

Hydra is indeed my successor to Phoenix. Phoenix and Zephyros (and AppGrid if you can find it) are deprecated in favor of Hydra. But I can't just delete those projects, as existing users may not want to port their configs to Lua. Oh how I wish I could though.

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!

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

#47
Cool tool. Would be a good idea to get it on homebrew for one liner install. I noticed when checking whether it was on homebrew that there's another piece of software already by that name that could be worth avoiding (despite being an almost perfect name for what this does).

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

#48

This looks great, but my favourite thing might be the Principles section: > Hydra must be stable. It should never crash > Hydra must be lightweight... never use more than 10 MB of memory > API should be completely transparent > API must not be bloated I think these principles should be the standard to which we all hold our software. Looking forward to testing this out! Edit to say: it would be really great to see som…

Hail Hydra!

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

#50

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 cause me no grief whatsoever. I catalogued everything I run on my Mac these days, and was pleasantly surprised to find I have zero local commercial software that I depend on, or indeed any Mac-only software. Generally, when I've used recent Linux desktops, I've discovered that the experience is at least on par with my Mac, with the added bonus that Emacs doesn't have so many quirks.

Battery life on my MacBook Air is really the only thing keeping me from moving back. I have to wonder if there is any movement to achieve power management parity with OSX in Linux.

Post reply on HN