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.
Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
21–30 of 73 posts
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#22The API [1] is an interesting read, as well as this thread from two years ago [2]. I have used Spectacle [3] for years and recently switched to Rectangle [4]. These two are quite simple in comparison but I barely use all their features. I have seen people using HammerSpoon [5] as well for these type of things. Out of curiosity, what kind of things do people script in a window manager? [1] https://github.com/kasper/ph…
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#23The 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…
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#24The 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
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#25The 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 good success with yabai: https://github.com/koekeishiya/yabai
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#26The API [1] is an interesting read, as well as this thread from two years ago [2]. I have used Spectacle [3] for years and recently switched to Rectangle [4]. These two are quite simple in comparison but I barely use all their features. I have seen people using HammerSpoon [5] as well for these type of things. Out of curiosity, what kind of things do people script in a window manager? [1] https://github.com/kasper/ph…
> Out of curiosity, what kind of things do people script in a window manager? KWin is scriptable, and I use it to change window shading behavior and to do some tiling. At one point I had it send SIGSTOP to processes that I minimized, and SIGCONT when they were raised, to save battery life.
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#27The API [1] is an interesting read, as well as this thread from two years ago [2]. I have used Spectacle [3] for years and recently switched to Rectangle [4]. These two are quite simple in comparison but I barely use all their features. I have seen people using HammerSpoon [5] as well for these type of things. Out of curiosity, what kind of things do people script in a window manager? [1] https://github.com/kasper/ph…
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.
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#28Not to be confused with Phoenix[0], the Rails-like web framework for Elixir/Erlang. [0]: https://www.phoenixframework.org
I don't think anyone will be confused... seeing as it's also the name of about a billion other things (Pre-Firefox, I still remember you!). I feel like "Pheonix" is the second most common project name behind "Matrix". And on a less nit-pick-y note if the author is reading this - the project looks really fun and is certainly going to take up a chunk of my weekend!
Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#29Re: Show HN: Phoenix – a macOS window and app manager scriptable with JavaScript
#30The API [1] is an interesting read, as well as this thread from two years ago [2]. I have used Spectacle [3] for years and recently switched to Rectangle [4]. These two are quite simple in comparison but I barely use all their features. I have seen people using HammerSpoon [5] as well for these type of things. Out of curiosity, what kind of things do people script in a window manager? [1] https://github.com/kasper/ph…
local hyper = {"ctrl", "alt", "cmd"}
hs.loadSpoon("MiroWindowsManager")
hs.window.animationDuration = 0.3
spoon.MiroWindowsManager:bindHotkeys({
up = {hyper, "up"},
right = {hyper, "right"},
down = {hyper, "down"},
left = {hyper, "left"},
fullscreen = {hyper, "f"}
})
-- https://github.com/miromannino/miro-windows-manager
This allows me to place any MacOS window in either a horizontal or vertical third, or a quadrant, or a half, perfectly divided in such a way that I can maximise use of my screen while running multiple apps. My most common work environment is to have a terminal on one half of the screen, docs on the other - or two terms on top of each other on one side, docs on the other.This is so useful for me that I yearn to make the same hotkeys work on my Linux machine, but I haven't worked out what window manager I want to use to do it .. probably Awesome of course, but I'd love to be able to use the same Hammerspoon scripts (Lua) somehow ..