Live data from Hacker News

Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

github.com

31–40 of 73 posts

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#32
post #9
post #6

The window api makes me think one could pretty easily create an i3 like window manager. But my past experience with OSX window managers like amethyst has been subpar. Often the sizing/positioning is taken more as a “suggestion” by the window than a command. I also found eventually windows would get into a bad state. Has window management on OSX improved in the past couple years? On Linux with X11, window managers tru…

I have had a pretty stable setup using yabai[0] for my wm and skhd[1] for my hotkey daemon. Both are by the same dev and I have nothing but good things to say about them. Occasionally windows will get in a wonky state, but I have a hot key to reset them. It is usually stable for a week+ [0] https://github.com/koekeishiya/yabai [1] https://github.com/koekeishiya/skhd

I've been thinking of using these. What I want also is to "save and restore" or just "force" some windows to specific monotors and sizes. Is that possible with yabai?

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#33

Earlier quoted context omitted.

Pretty happy with spectacle overall. One thing I sorely miss from i3 however is the ability to switch focus to panes/windows/apps with the keyboard. Even something as next/prev window seems impossible on Mac (or I couldn’t work out a solution). I think you can cycle through apps(?), but not windows/panes in a logical order as far as I’m aware.

Cmd+Backtick (next to 1 key) lets you swap between windows of the same application. Is that what you're looking for?

That's as close as it gets, but it's not enough.

I mapped it to cmd-shift-right so it does go to the next window. But there's no way that I could find to map going to the previous window... So for example I might have two windows tiled side by side. I want to go cmd-shift-right to focus on the right one, and cmd-shift-left to focus on the left...

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#34
post #6

The window api makes me think one could pretty easily create an i3 like window manager. But my past experience with OSX window managers like amethyst has been subpar. Often the sizing/positioning is taken more as a “suggestion” by the window than a command. I also found eventually windows would get into a bad state. Has window management on OSX improved in the past couple years? On Linux with X11, window managers tru…

I love i3. I wish I could get something like it for the Mac. I love it so much I might ditch my Mac for a Linux laptop. Regarding Phoenix I use magnet on the Mac which gets pretty much this. Though this is probably much more customizable. Link: https://apps.apple.com/us/app/magnet/id441258766?mt=12

[deleted]

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#35

Earlier quoted context omitted.

I have good success with yabai: https://github.com/koekeishiya/yabai

Yeah I’ll check it I it after the many testimonials here but m leery about having to disable system integrity protection even temporarily

I have run with SIP disabled pretty much since it was introduced. Nothing happened. Unless you are a three-letter-agency target or a person clicking on random files, you’ll be fine.

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#36

Sloppy mouse focus? It’s the one feature I can never seem to find in macOS window managers. That and “highlight-to-copy” “middle-click-to-paste” are two things I really miss from an X11 environment.

Highlight-to-copy works inside the Terminal app, it just doesn't use the public pasteboard. You Shift-Command-V to paste. Dunno whether MMB would work too, or could be configured to do it.

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#37
post #6

The window api makes me think one could pretty easily create an i3 like window manager. But my past experience with OSX window managers like amethyst has been subpar. Often the sizing/positioning is taken more as a “suggestion” by the window than a command. I also found eventually windows would get into a bad state. Has window management on OSX improved in the past couple years? On Linux with X11, window managers tru…

I love i3. I wish I could get something like it for the Mac. I love it so much I might ditch my Mac for a Linux laptop. Regarding Phoenix I use magnet on the Mac which gets pretty much this. Though this is probably much more customizable. Link: https://apps.apple.com/us/app/magnet/id441258766?mt=12

Yes, i3 drastically improved my ability to be productive and not get lost in my windows.

I sorely miss it when I am using windows or MacOS.

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#38
post #31

> JavaScript Dear god, why? Don’t I have to suffer enough in my day job? For real though this is a cool project despite my own personal JavaScript fatigue.

It could be worse, it could have been AppleScript.

Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript

#40

Earlier quoted context omitted.

Cmd+Backtick (next to 1 key) lets you swap between windows of the same application. Is that what you're looking for?

That's as close as it gets, but it's not enough. I mapped it to cmd-shift-right so it does go to the next window. But there's no way that I could find to map going to the previous window... So for example I might have two windows tiled side by side. I want to go cmd-shift-right to focus on the right one, and cmd-shift-left to focus on the left...

It's not exactly what you want, but have you tried binding "Move focus to next window" to alt+tab? Then you can use alt-tab-shift to cycle focus backwards, at least something. (I always forget where that setting is, it's in Keyboard->Shortcuts->Keyboard).
Post reply on HN