16 comentários

  • egeozcan
    24 dias atrás
    As someone who switched to macos from the hot pile of mess called windows last year, my biggest point of pain was the window management. I use Rectangle Pro, and it helps a lot, but IMHO workspace integration is poor still.

    I'll give this one a try. BTW, if this works, can you please consider asking money for it? Keep it open source but perhaps add a friction-less support channel (read: not github issues) for paying customers. Just an idea.

    In any case, thanks for the hard work and making it open-source.

    • frizlab
      24 dias atrás
      There is AltTab[0] (free and open-source) also, to get a windows-ish windows management on macOS.

      [0] https://github.com/lwouis/alt-tab-macos

      • thiht
        24 dias atrás
        I’ve switched to macOS from Windows 8 years ago and I still find window management completely unusable without AltTab. The thing is, on a French keyboard layout you can’t even use cmd+backtick to switch between windows if the same application, it doesn’t work. Separating cmd+tab and cmd+backtick is moronic, but it’s not even possible if you’re not using a qwerty keyboard.

        AltTab and Maccy are the 2 apps I can’t live without on macOS. Rectangle used to be in that list too, but I managed to not need it anymore since Apple introduced native tiling a few versions ago. Now they just need to introduce native clipboard history and sane alt+tab, hopefully this decade.

        • mbirth
          23 dias atrás
          Native clipboard history was introduced in iOS 26’s new Spotlight.

          https://support.apple.com/en-gb/guide/mac-help/mchl40d5b86b/...

          • thiht
            21 dias atrás
            Wow I follow Apple release notes closely and had no idea, thanks for sharing. Now I need to see it it’s actually enough to replace Maccy :)
          • mbirth
            23 dias atrás
            macOS 26, of course.
            • nozzlegear
              23 dias atrás
              If Liquid Glass is your concern on macOS 26, you really don't even know it's a thing unless you hang out in the control center all day IMO.
        • frizlab
          24 dias atrás
          > it’s not even possible if you’re not using a qwerty keyboard

          Well… it used to be possible.

          I was using an AZERTY keyboard in my youth, and was definitely able to switch windows using cmd-< and/or cmd->. (I just tried, it is indeed not possible anymore as per my limited testing, for some reason…)

          > Separating cmd+tab and cmd+backtick is moronic

          Not for my taste. I like the app-centric worldview. I can understand that not everybody does though.

        • mikae1
          23 dias atrás
          First thing I do when I install macOS is to set application switching to cmd+tab and to cycle windows inside an application using cmd+§ (that's possible without third-party apps). On a Nordic keyboard § is above tab (perhaps it's same for US keyboards). I use KDE Plasma at home and have it set up the same way.
          • nozzlegear
            23 dias atrás
            > On a Nordic keyboard § is above tab (perhaps it's same for US keyboards).

            On a US keyboard, the key directly above tab is the grave/tilde key: `~

            I didn't know you could swap those shortcuts without a third-party app though, I'll have to try that.

      • MoonWalk
        23 dias atrás
        Alt-Tab does two things that Apple messed up:

        1. Restores minimized apps when you tab to them (Apple leaves them minimized, defeating the whole purpose of the hotkey)

        2. Creates a new window if the app you're tabbing to lacks one (primarily Finder; the developer added this at my request)

        Any similar utility that doesn't do the above two things has pretty much missed the boat.

        Alt-Tab is one of the first things I install on a new Mac OS installation. The other is Karabiner, so I can add a real Delete key to my keyboard (fixing another irritating Apple omission).

    • robhati
      24 dias atrás
      thanks for the kind words and I might create a discord server for the support but I havent really thought about it.
  • ggsp
    24 dias atrás
    Very cool to see movement in this space, and congrats on launching! Agree that it looks polished, I also like that you chose to show screenshots from settings on the LP.

    I use yabai and I've been wanting something similar to what you built. Instead of one desktop per workspace, I'd like to be able to have "sets of desktops" per workspace as it were, because not all work I do that involves multiple apps needs them on the same screen at all times (or even ever).

    As an example: I might have IDE + browser on one desktop, Fork.app and local server on another, and Music.app on a third (as I like to listen to music while I work). So to me, those are all related, but don't make sense on one desktop.

    The other consideration is that I also tend to use tiling more on bigger displays. Since I sometimes do work with just the builtin display, I have to reorganize windows and desktops every time I switch, which is a bit of a PITA. With a solution like yours, but for sets of desktops, I could just switch to a different set and be done in seconds.

    Is something similar possible using HopTab?

    • robhati
      24 dias atrás
      not fully yet but what you can do today is create separate profiles for each Space (ide+browser on one, Fork+server on another,music on a third) and they auto switch as you swipe between desktops. So the per Space part works but what's missing is the "group" bit there's no way to say "these 3 profiles are all part of my Coding workspace, activate them all at once." That's exactly where I want to take this though. The building blocks are mostly there, just need that workspace layer on top. The display switching thing with snapshotting per display config so laptop only vs docked setups just work is a bit PITA to build but I am working on it
  • illiac786
    15 dias atrás
    Very nice, can’t wait to test it.

    FYI, the homwbrew checksum is broken: “Cask reports different checksum”.

    Secondly, I would find it amazing if it could be notarized – I do understand however there is a cost associated with getting an apple dev account – and time/effort.

  • robhati
    24 dias atrás
    I've been building HopTab as a free alternative to the combination of Cmd+Tab replacers and window managers. It started as a simpleapp switcher — pin your apps, Option+Tab through them. But the latest release adds a lot.

    *What's new*

    Global window tiling shortcuts — Ctrl+Opt+Arrow for halves, Ctrl+Opt+UIJK for quarters, Ctrl+Opt+DFG for thirds. Works anytime, no switcher needed. All 17 directions are configurable.

    Cycle through sizes — press Ctrl+Opt+Left twice and the window goes from 1/2 to 1/3, press again for 2/3. Same for right. This is the Rectangle feature I missed most.

    Undo snap — Ctrl+Opt+Z restores the previous window position. Every snap saves the old frame automatically.

    Move between monitors — Ctrl+Opt+Cmd+Arrow throws the window to the next display with proportional placement.

    Configurable gaps — 0–20pt gaps between snapped windows. Settings slider with live preview.

    Profile switcher shows app icons — instead of generic person avatars, the Option+` overlay shows a grid of each profile's actual pinned app icons.

    *What was already there*

    Pin apps, Option+Tab to cycle through only those Profiles per workflow (Coding, Design, etc.) with per-profile hotkeys Layout templates (50/50, IDE 60/40, three columns, 2×2 grid) Session save/restore — saves every window's position, size, z-order per profile Assign profiles to macOS Spaces — auto-switches when you swipe desktops Window picker for multi-window apps Cmd+Q/H/M while switcher is open Sticky notes per profile What it replaces

    I was using Rectangle + AltTab + some manual window dragging. HopTab combines the app switching, window tiling, and workspace management into one app. The main difference from AltTab is that you pin specific apps instead of seeing everything. The main difference from Rectangle is that tiling is integrated with profiles and layouts — snap your windows, save the session, restore it tomorrow.

    Free, open source, no telemetry. ~3MB binary.

    Website: https://www.royalbhati.com/hoptab

    GitHub: https://github.com/royalbhati/HopTab

    • hirenj
      24 dias atrás
      This looks very cool. Does the window picker for multi-window apps work with the pinning? So if I have a safari windows I want to have associated with a profile, and the option-tab will ignore all the other windows?

      It is a constant pain when I cmd-tab in a space with safari, and it throws me out of the space to another one because the window that gets focus isn’t the “closest” one on the current space.

      • robhati
        24 dias atrás
        right now it shows all safari windows not just the ones on your current space, so the "wrong space" problem could still happen. I'll look into Space aware window filtering.
  • easeout
    24 dias atrás
    Just having watched the video, the session setup, close, and launch seem tied to the idea of a single window per app. Is that right? What kinds of workflows is this explicitly meant vs. not meant to support?

    The way a user switches window sets with backtick and app windows within them with tab is inverted from the usual major and minor shortcuts. Normally you switch apps with tab and windows within them with backtick, or in the case of stage manager, you switch window sets with tab and windows within them with backtick. As a default I think the keys make less sense than they could.

  • ashwinnair99
    24 dias atrás
    Cmd+Tab is one of those things that shipped in 2003 and nobody at Apple has touched since. Surprised it took this long for someone to properly replace it.
    • wobfan
      24 dias atrás
      I mean to be fair, (1) there are replacements, AltTab and Switcher for example, and (2) why replace ot touch something that isn't broken? Cmd+Tab is supposed to switch to the next open window, and it does exactly that.
      • toxik
        24 dias atrás
        No, Cmd+Tab switches to the next application. This is what people get surprised and annoyed by. I've been using Mac for 15 years now and I find it super awkward to switch between windows within an app. On my machine it's Cmd ` or something strange like that. This is also doubly bound sometimes, such that I can only cycle forwards OR backwards. Complete mess.
        • wobfan
          23 dias atrás
          But IIRC this is the same on Windows and other OSes, no? Like, I'd argue that it's the default behavior then. Also, I think it should be like that.

          And yes to switch between windows of the same application it's Cmd+Shift+´. Not the most intuitive, but I feel it should not be combined, because that would mess up the sequence massively. If I want to switch Terminal windows, I don't want to do Cmd+Tab and then manually look through all 15 window icons to select.

          Like, IMO the status quo is perfect. Sure, you gotta get used to Cmd+Shift+´, but try to do it for a week, and then it's perfectly natural.

        • kstenerud
          24 dias atrás
          It's absolutely terrible. Want to get one of your terminals and one of your vs code windows next to each other to check something visually? Can't do it. CMD-tab brings ALL of your terminal windows to the front, or ALL of your vs code windows :/

          I still can't understand who ever thought this was a good idea...

          • egypturnash
            23 dias atrás
            I dug in the docs a little and:

            1. command-tab to desired app, keep command held down

            2. hit down-arrow to enter an app's windows, you can let go of command now

            3. arrow keys + return, or mouse-click, to pick window; some apps may do weird things here - preview starts with no highlights and has a list of recent documents at the bottom, for instance

            This is kind of poorly documented and not very discoverable, I couldn't find it in Help>MacOS Help or Help>Tips for Your Mac, I ended up learning it from the online version of the manual.

            Alternatively, and what I mostly do:

            1. hit the Mission Control key (three little rectangles, usually f3), or 3-fingered swipe up on the trackpad

            2. click on the desired window, keyboard is ignored here

            (command-Mission Control shows the desktop, control-Mission Control shows only the current app's windows)

            Even more alternatively:

            1. right/command-click on an app's Dock icon

            2. there may be a text list of open windows and/or recent documents, there will always be a Show All Windows entry at the bottom, keyboard nav works here

          • CharlesW
            24 dias atrás
            > CMD-tab brings ALL of your terminal windows to the front, or ALL of your vs code windows

            Cmd+Tab to the app, then press ↓ to choose a window from the app. Arrange using the basic OS window manager or your favorite 3rd-party window manager.

            • thiht
              24 dias atrás
              Why are you saying it like it doesn’t suck?
              • kstenerud
                23 dias atrás
                It's a classic case of optimizing the UX for the 20% use case rather than the 80% use case.

                Most of the time, people have 2-3 work windows that they just want to swap between quickly, regardless of what "app" they happen belong to. The Windows alt-tab behavior captures that beautifully.

  • 60pfennig
    24 dias atrás
    I have a really wide screen (52') and all these window managment apps fails for me at the point that I only can divide the screen in thirds or halfs. Thirds for three apps is too small, halfes to large. I need custom areas like 3/7, 3/7, 1/7. The only app which i found which this offers is 1piece
  • msephton
    23 dias atrás
    Looks great, and website is good, but the video needs voiceover and better pacing to better demonstrate the app
  • setnone
    24 dias atrás
    This looks awesome and polished. I've made similar app for myself coming from similar setup (Rectangle, altTab)

    I needed custom icons, custom names for windows, obligatory custom and persistent order, 'always on' option and keyboard nav for showing/moving windows from the strip. Could not be happier.

  • WeZzyNL
    23 dias atrás
    Every time I see macOS "alt-tabbers" I need to mention: Contexts (https://contexts.co/)
  • vr46
    24 dias atrás
    Looks like this is going to find a place full-time on my mac and replace Rectangle, only problem being I don't have more menu bar icon space.
  • varispeed
    24 dias atrás
    Is there any app switcher that doesn't need manual reload of configuration each time you open a new app so that it sees it?
  • Bigsy
    24 dias atrás
    Does it have custom layouts? I can see it mentioned, I have rotated monitors so none of the standard ones really suit.
    • robhati
      24 dias atrás
      they are supported under the hood but the UI for creating them isnt built yet but its on the roadmap.I'll prioritize it (:
  • i_am_a_peasant
    23 dias atrás
    i just use aerospace. It's not that great, but it's a lot more usable than without it.

    I wish it performed as well as glazewm on windows. I can make a windows box be almost as responsive as a linux box, I simply cannot do that with a macbook.

  • icapybara
    24 dias atrás
    Rectangle is a nice no-config solution for me.
  • p2hari
    24 dias atrás
    I think there is too much customization and options. Maybe having a .*aml/json file would be good.

    I have a few hammerspoon customization for me to choose and open the applications I have. I put those on different desktop but use this to open applications. Whereas for the tiling itself use either aerospace or Loop.

    Here is the hammerspoon code for opening the apps using keyboard more like vim jump options.

    ```

    ----show all windows of the clicked application

    local function showAppWindows(window) local app = window:application() local appWindows = app:allWindows() if #appWindows > 1 then hs.hints.windowHints(appWindows, function(selectedWindow) selectedWindow:focus() local frame = selectedWindow:frame() hs.mouse.setAbsolutePosition({ x = frame.x + frame.w / 2, y = frame.y + frame.h / 2 }) end) else window:focus() local frame = window:frame() hs.mouse.setAbsolutePosition({ x = frame.x + frame.w / 2, y = frame.y + frame.h / 2 }) end end

    hs.hotkey.bind({ "cmd", "ctrl", "alt", "shift" }, "p", function() hs.hints.windowHints(nil, showAppWindows) end)

    ----window search modal

    local function createWindowSearchModal() local allWindows = hs.window.allWindows() local windowChoices = {}

        for i, window in ipairs(allWindows) do
            if window:title() and window:title() ~= "" then
                local app = window:application()
                local appName = app and app:name() or "Unknown"
                table.insert(windowChoices, {
                    text = appName .. " - " .. window:title(),
                    subText = "Window " .. i,
                    window = window,
                    id = i
                })
            end
        end
    
        local chooser = hs.chooser.new(function(choice)
            if choice and choice.window then
                choice.window:focus()
                local frame = choice.window:frame()
                hs.mouse.absolutePosition({ x = frame.x + frame.w / 2, y = frame.y + frame.h / 2 })
            end
        end)
    
        chooser:choices(windowChoices)
        chooser:searchSubText(true)
        chooser:show()
    end

    hs.hotkey.bind({ "cmd", "ctrl", "alt", "shift" }, "o", function() createWindowSearchModal() end)

    ---- window search modal for active application only

    local function createActiveAppWindowSearchModal()

    local frontmostApp = hs.application.frontmostApplication() if not frontmostApp then hs.alert.show("No active application detected") return end local appWindows = frontmostApp:allWindows() local windowChoices = {} for i, window in ipairs(appWindows) do if window:title() and window:title() ~= "" then table.insert(windowChoices, { text = window:title(), subText = "Window " .. i, window = window, id = i }) end end if #windowChoices == 0 then hs.alert.show("No windows found for active application") return end local chooser = hs.chooser.new(function(choice) if choice and choice.window then choice.window:focus() local frame = choice.window:frame() hs.mouse.absolutePosition({ x = frame.x + frame.w / 2, y = frame.y + frame.h / 2 }) end end) chooser:choices(windowChoices) chooser:searchSubText(true) chooser:show() end

    hs.hotkey.bind({ "cmd" }, "1", function() createActiveAppWindowSearchModal() end) ```

    • crefiz
      24 dias atrás
      You cannot seriosly think that dropping a whole snippet as a comment is a smart move
      • p2hari
        24 dias atrás
        I know I was not going for it. After I pasted I realized I should have put it in a Gist and linked here. I had already edited the code twice and still had issues. I could no longer edit it. I am also not seeing a delete option too.
        • Crestwave
          23 dias atrás
          Yeah, user edits/deletes are locked after 2 hours. You can email hn@ycombinator.com to request an edit past the initial window.