News for hackers. Stuff that matters.
Re:The Future Is Niri by kingnothing on Wednesday March 12, 2025 @01:54PM (#43345900)
Tiling is now built in to MacOS if you want to give that a try:

https://support.apple.com/guide/mac-help/mac-window-tiling-i...

Re:The Future Is Niri by alabastervlog on Wednesday March 12, 2025 @02:01PM (#43345971)
Yeah, I haven't seen a way to change the keybindings so they match my muscle memory. My current set-up is "brew install spectacle", cmd+space+"spect"+return, tick the checkbox to run at startup, then never think about it again—even if there were a way, I'd also have to go to the trouble of scripting the keybinding changes to make it this easy.
Re:The Future Is Niri by callahad on Wednesday March 12, 2025 @03:23PM (#43346754)
This covers binding Cmd+Opt+[Arrows, F, C], which is all I use:

    defaults write -g NSUserKeyEquivalents -dict-add \
        "\033Window\033Move & Resize\033Left" "@~\\U2190" \
        "\033Window\033Move & Resize\033Right" "@~\\U2192" \
        "\033Window\033Move & Resize\033Top" "@~\\U2191" \
        "\033Window\033Move & Resize\033Bottom" "@~\\U2193" \
        "\033Window\033Fill" "@~F" \
        "\033Window\033Center" "@~C"
Equivalent to manually binding in System Settings -> Keyboard -> Keyboard Shortcuts -> App Shortcuts
Re:The Future Is Niri by alabastervlog on Wednesday March 12, 2025 @03:27PM (#43346798)
Ah, looks promising, and I bet I can figure out how to add the rest with that as an example and some light Web searching.

I use all of those except center, plus Cmd+Ctrl+[left, right] for top quarters left and right, and Cmd+Ctrl+Shift+[left, right] for lower quarters left and right.

Thanks!