Does it have custom layouts? I can see it mentioned, I have rotated monitors so none of the standard ones really suit.
HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
11–20 of 57 posts
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#12Looks 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.
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#13As 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…
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#14I'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. Cy…
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.
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#15I 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()
endhs.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) ```
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#16I 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?
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#17Very 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…
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#18Looks 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.
Re: HopTab – Open source macOS app switcher and tiler that replaces Cmd+Tab
#19Earlier quoted context omitted.
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.
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.
I still can't understand who ever thought this was a good idea...