News for hackers. Stuff that matters.
Re:macOS Monterey by nsonha on Monday October 25, 2021 @05:50PM (#28993579)
I think window management in Mac leaves much to be desired (hot key and snapping floating windows). But associate fullscreeen window/split with a new workspace is actually one thing it does right. I installed an addon on Gnome just to emulate that.

Split is kind of useless with an ultrawide monitor though, I wish it was 3 columns

Re:macOS Monterey by tfsh on Monday October 25, 2021 @08:18PM (#28994959)
If you're looking for a good OSX window manager, Yabai [1] is excellent. If you're willing and allowed too you can get greater control by disabling SIP. However even with system integrity enabled (which bars access to certain WindowServer APIs - space control, removing shadows, multi-monitor integrations) Yabai functions great.

It uses a messaging passing API to interface with a local service, so it's completely programmable and can be integrated with something like skhd [2]

1: https://github.com/koekeishiya/yabai

2: https://github.com/koekeishiya/skhd

My skhdrc setup: https://pastebin.com/5GT8yiGK

Re:macOS Monterey by memco on Monday October 25, 2021 @09:32PM (#28995371)
Amethyst is another option, but doesn't require disabling SIP: https://github.com/ianyh/Amethyst. Does require accessibility permissions though.
Re:macOS Monterey by nsonha on Monday October 25, 2021 @11:15PM (#28996018)
> binary space partitioning

instant put off

seriously why is this a thing? Who looks at their messy desktop and think to themselves: "man it would be nice to have all of this organized... with binary partitioning algorithm"?

I tried amethyst as well as i3 on linux, gave up on tilling. I prefer to do it myself according to the need at the time. Just need hot keys.

Re:macOS Monterey by karolist on Tuesday October 26, 2021 @04:04AM (#28997625)
Look into Rectangle if you just want the snapping resize ability or BetterSnapTool as a more advanced utility. In BetterSnapTool you can define custom snap areas and associate just specific apps with them, specifying window sizes and positioning per snap area. I’ve tried binary tilers and it only really works on text heavy workloads for me.
Re:macOS Monterey by nsonha on Tuesday October 26, 2021 @07:33PM (#29007788)
hey forgot to say thanks for the recommendation and I'm giving yabai another try. I think just ignore the binary stuff it's pretty neat and mouse-friendly. One downside is there is no indicator on menubar.

Your config is a great starting point

Re:macOS Monterey by runjake on Monday October 25, 2021 @06:08PM (#28993753)
One free option for Mac: https://rectangleapp.com/
Re:macOS Monterey by hughlilly on Tuesday October 26, 2021 @03:35PM (#29005189)
Ooh! Now all I need is a replacement for Better Touch Tool.* Anyone know of anything?

* which I use almost exclusively as open/close new tabs in Safari and Finder with the top right and left corners of the trackpad respectively; plus three-finger-swipe left/right gestures to move between tabs

Re:macOS Monterey by lelandfe on Tuesday October 26, 2021 @03:16AM (#28997331)
Forewarning that there are loads of apps that the hotkeys just don’t work on. FaceTime, Steam, etc. I’m not sure why, generally the issues get closed with, “this is limitation of macOS,” but Spectacle didn’t have the same issues
Re:macOS Monterey by immy on Monday October 25, 2021 @08:10PM (#28994898)
Ooh I am liking some of the things this has over ShiftIt. Discover a new one of these window managers every few months.
Re:macOS Monterey by nsonha on Monday October 25, 2021 @06:19PM (#28993876)
I use it, not the point though, should be built-in.
Re:macOS Monterey by rubyist5eva on Monday October 25, 2021 @06:46PM (#28994121)
I don't think expecting Apple to implement every single pet feature of every single power user is something that is reasonable.
Re:macOS Monterey by nsonha on Monday October 25, 2021 @11:04PM (#28995956)
Aranging windows is not a "power user feature". It's a basic thing that all other desktop OSes have. If you think hotkeys are "power user" things then replace them with gestures. Mac has none.

They actually do have windows splits, it's just unfortunate that they force a workspace onto them.

If anything workspace is a power user feature. Many including myself rarely use it. I could not if I wanted to because it looks so stupid on an ultrawide monitor.

To me the fact that 2 basic things: window snap and window switch hot keys (dont tell me you can switch apps, then swicth windows, it's retarded), don't exist, and I need at least 2 other apps to make my computer bearable, is ridiculous.

It's luckly that the apps happen to be free no thanks to Apple.

Re:macOS Monterey by rubyist5eva on Tuesday October 26, 2021 @08:54AM (#28999762)
You’re mad that Apple didn’t design their operating system around your personal preferences. Personally, I’m accustomed to the way the Apple does things and personally feel the Windows way of doing do things very annoying to use (I end up needing to use Windows a few times per week). So I guess we cancel each other out :) Linux desktops have every feature under the sun but they have so many other problems I find them utterly unusable. That is why I use Mac, perhaps you would be better suited with a different platform if it annoys you so much. Sounds like you just prefer the Windows workflow ergonomic to me.

Also, FYI, you can split left and right on mac by hovering over full-screen button while holding the option key: https://imgur.com/a/VNSQR8l

It's not a hotkey, but it gets the job done.

Re:macOS Monterey by nsonha on Tuesday October 26, 2021 @09:53AM (#29000388)
No that's not the case, linux and windows both seem to have the basic set of features right.

I think each OS has the part they do right. Windows has the taskbar, Linux has the customization, Mac has spotlight and full screen spaces.

Many of us are forced to use a Mac at work btw.

Re:macOS Monterey by anonymoushn on Tuesday October 26, 2021 @01:45AM (#28996821)
What app do you use to get a normal alt+tab on mac?
Re:macOS Monterey by nsonha on Tuesday October 26, 2021 @04:36AM (#28997865)
It's literally called AltTab
Re:macOS Monterey by anonymoushn on Tuesday October 26, 2021 @05:51AM (#28998363)
Thanks!

I'm using Hammerspoon to implement manual tiling and pretend to have old Spaces (spaces arranged in a grid with instant transitions), but it's not my favorite thing ever.

Re:macOS Monterey by fnord123 on Monday October 25, 2021 @07:09PM (#28994337)
But they can support like two features for every single power user: hotkeys for managing windows and snapping to windows when you push it against the border.
Re:macOS Monterey by rubyist5eva on Monday October 25, 2021 @08:58PM (#28995184)
but...why? just install Rectangle and forget about it why does it matter so much if it's "built-in" or not..? It's like complaining that Apple doesn't make Alfred built in because you don't like Spotlight.
Re:macOS Monterey by kayodelycaon on Monday October 25, 2021 @06:05PM (#28993720)
In all seriousness, there is an app for macOS window management. https://apps.apple.com/us/app/bettersnaptool/id417375580?mt=...
Re:macOS Monterey by Vinnl on Monday October 25, 2021 @06:45PM (#28994106)
What Gnome extension was that? Sounds interesting, so I'd like to give it a try.
Re:macOS Monterey by nsonha on Monday October 25, 2021 @11:23PM (#28996058)
Re:macOS Monterey by Vinnl on Tuesday October 26, 2021 @09:53AM (#29000389)
Thanks!
Re:macOS Monterey by Humphrey on Monday October 25, 2021 @06:09PM (#28993760)
Install ShiftIt - customisable shortcut keys for almost all window layout options.