Show HN: I built a tool to solve window management
52 comments
·July 8, 2025deviation
Neat idea. I'm sure this will solve some friction for the neuroscientists/mathematicians out there with ~20+ windows open.
Personally (as someone with ADHD), this would just relentlessly grind my gears. My thoughts are unpredictable by nature and so I value the "reliability" of knowing my chrome is two alt+tabs away, etc.
If an algorithm started messing with this and changing throughout the day... Damn, I'd go crazy.
bryankaplan
Use a tiling window manager with twelve desktops, keybound to modifier+FKey, and assign a purpose to each of them. Problem solved, decennia ago.
sgt
Never understood tiling managers. I want the primary thing I'm working on to be right in front of me, not all over the place. So my IDE might be in the middle of the screen, and a browser might be on the side. But as soon as I want to spend more time in the browser I just move it to the middle, obscuring the IDE.
z0r
The answer (for me): 1 thing per workspace most the time. maybe 2 things side by side on a landscape oriented monitor or 2 things on top of each other on a portrait oriented monitor. And: 2 or 3 monitors.
"I want the primary thing I'm working on to be right in front of me, not all over the place." is exactly why people use tiling window managers. The screenshots where people have dozens of apps all shown on a single monitor are mostly memes or to flex their uncommon layout engine.
genericspammer
I have a tiling window manager, I never use the tiling feature, I only have one window per workspace like the previous commenter. Alt+1 is always my browser, alt+2 is my code, alt+3 is slack, etc. Switching to the desired app doesn’t require thinking, and certainly no AI
doubled112
Similarly, I fixed window management by upgrading to a big enough 4K screen I don't need to scale up.
I just place windows wherever based on what feels right at that moment. I also haven't minimized one in years. Two windows side by side makes them both too large to be practical.
Browser? Probably front and center. Chat window? Somewhere in my peripheral vision. If I'm doing a lot of things, I might move some windows over to another virtual desktop.
dcuthbertson
I can't imagine wanting this. When I press ALT-Tab or SHIFT-ALT-Tab I can see most of the Windows I have open, and can get to the one I want quickly. The last thing I want is some algorithm showing me a next/previous window that may have nothing to do with where I'm headed. How would I be able to predict where it would send me so I can reliably know how many key presses I need to make to get there?
furyofantares
I like the idea of focusing on one window at a time with keyboard shortcuts for getting around quickly.
I feel like the only predictable workflows are when I'm cycling through N windows repeatedly. Tabbing works great for N=2 already due to reorganizing the list so the first element is always the previous window. But N=3 or 4 and maybe 5 are also common for me and kind of annoying with tabbing. Of course I don't know how predictable those are either, they're annoying to tab because the patterns are almost regular but also have frequent exceptions.
I am sorta talking myself into wanting normal tabbing alongside a browser style forward/back (which would NOT reorder the alt/cmd tab list). That way once I have my N windows as most recent, it's all back/forward navigation and the path to each window is something I would remember for the session.
atommachinist
For me, Alt + Tab was always almost good enough. I find the shortcut itself to be a good experience but as you said, it's annoying tabbing through the window list. The idea with Smart Switcher is that you wouldn't need to override too often so it ends up being less keystrokes then tabbing through the window list.
alanpearce
Funny, this sounds like a good idea, but I'm quite happy with the exact opposite: I use rcmd[1]. I hold down the right command key and press the first letter of the window name to switch to it. I can override this dynamic mapping by pressing right command + option + <other key>, so I have an IM client on I, for example. It means I never have to remember/guess how command+tab works (although I had fewer issues with alt+tab on Windows)
jerryjappinen
Without having tried this, I'd say the problem with a predictive algorithm is that it is (ironically) impossible for the user to predict what will happen.
So after switching, they will need a short moment to reorient: understand where they were taken, check if it matches where they wanted to go, and then either switch again or stop the switching process to resume work. In UX design, it's better if you can complete a longer process without having to halt and reorient many times in the process (like opening a menu that was hidden and wait for a loading animation to complete, until you can actually read the menu items are).
If it's impossible to keep a mental model of where you are in the system, and how you can move to another specific window, then actually EVERY window switch requires much more effort and conscious thought.
I think windowing systems, virtual desktops, spotlights, stage managers, exposés, mission controls, are all too complicated... I don't know what the solution is, and I think it's great that people are working on novel solutions. But I do know I want to easily switch between 2-4 windows without the order randomly changing.
atommachinist
I completely agree, a lot of the existing solutions are too complicated. I just want to be clear that once you use the override shortcut, the algorithm won't have any effect on the your switch order. When you are ready to switch windows, if you use the switch shortcut to switch from window A and it takes you to window B (because this is that the algorithm predicted) but this isn't what you wanted, you would press the override shortcut to go to C instead. Now because you have an override in effect for A, every time you switch from A it will take you to C, unless you use the override shortcut again.
thejohnconway
I have a very similar frustration with the complexity here, and found that scrolling tiled window managers (like PaperWM, Niri, etc.) might actually be the answer. All your windows are in a line, press the shortcut until you hit focus the one you want. Reorder with a shortcut or with a mouse.
The main problem with them is system support, they are buggy when tacked on top of a desktop OS (PaperWM), or require a pretty finicky custom setup (Niri).
medwards666
This! I actually kinda miss the Win7 enhanced switcher (I actually kinda miss the whole Win7 Aero desktop, but I digress) ... Win-Tab bringing up a scrollable stack of the actual windows you have open and being able to either directly select the one you want or just keep Win-Tabbing through them. The Win10 tiled view is similar, but lacks the charm somehow...
null
layer8
At least for the last three or four windows, I would want strict LRU behavior, because that’s automatic muscle memory. I could see a “smart” heuristic be potentially useful for less recently used windows, although I have a hard time imagining how that could be significantly predicted from prior use.
Xss3
This.
I wonder, OP, what is it that you dont like about how it just uses your most recent windows in order of last opened?
jmercouris
Cool idea, what model does it use to predict my next window?
ethan_smith
Would be interesting to know if it's using a Markov chain, frequency analysis, or some more complex ML approach for the prediction.
atommachinist
The algorithm started off by using one of those more simple methods and has evolved a lot since then. I'm exploring a few different directions now. It's difficult to say what will be the best direction to take it in until I have some more data to see what's working. I want to make something that works well for a lot of different types of workflows.
thyristan
LRU i guess.
revskill
It's funny that Windows is too stupid for window switching, let's also forget about screen switching, a total nightmare.
observationist
Sometimes I want to switch between multiple windows quickly, or even toggle between them. Having two keys - alt+tab - allows me to enter the "window switching" state by pressing alt, while tab increments the selection, and shift+tab decrements (all while holding alt down). I leave switching state when I release alt.
Alt+tab is an optimal controller.
Maybe operating on the order of items in the queue, and use your prediction to sort windows, allowing faster selection? Even that disrupts sense of place - I know what applications I have open and where they are, and if I'm using alt+tab over 5 or more, I know the order in which I've opened them, and "where" I need to go to navigate to them.
There are second and third order impacts to changing interface behaviors, so the superficial benefit you might gain will be lost by creating friction at different levels.
A single key is insufficient for granular control, and no AI widget short of human level AI is going to capture the edge cases, which will create friction, at which point I will aggressively remove the offending piece of software.
I'd go back to the drawing board and work on a more complex model of window switching and all the ways in which people use alt+tab, and see if there's a use case for your idea at a different level. As it is, for me, it would interfere with a reliable and predictable interface, and I would be very unhappy.
craftkiller
> Alt+tab is an optimal controller.
Having to iterate through your windows is not optimal. I use sway, with windows divided across workspaces. So if I want to switch to my web browser I hit super+1. If I want to switch to my code editor I hit super+2. If I want to switch to my terminal(s) I hit super+3. I use 4 through 0 for other random windows (for example, I usually launch games or videos on 0. If I'm working in two code bases I generally put the editor and terminal for the 2nd code base on 4 and 5).
What takes you O(n) takes me only O(1).
jimbobimbo
Standard out-of-the-box Windows behavior: quick Alt-Tab press switches between last two windows; pinned apps on taskbar are switched with Win-1..9 shortcuts.
voidUpdate
press alt, tap tab, click the window you want
__MatrixMan__
If you're going to go all the way to the mouse, you could just... click the window you want.
__MatrixMan__
I don't understand why people like to navigate their windows temporally.
Super+h/j/k/l (left, down, up, right) to move focus spatially feels much more natural, given that you can know at a glance which window is to the left of yours but they typically give no indication about whether a window is the 6th most recently touched or the 7th...
justinrubek
I do this with tiling and Super+f for maximizing the focused window. It feels wrong when I work in other environments without this.
null
null
apozem
An interesting idea, but not something that would fit my workflow for several reasons (not the least of which is it's Windows-only).
Cmd-Tab on Mac and Alt-Tab on Windows does the same thing every time. Its consistency lets me use it extremely quickly, with confidence. It does what I want it to, every time. I don't wish to sound dramatic, but if I hit a shortcut with a window in mind, and this app picked the wrong window even once, I would uninstall it immediately. "Cmd-Tab, but it doesn't work sometimes" sounds frustrating and strictly worse than the system shortcut.
Maybe it should look more like GitHub Copilot. It watches what you're doing and shows a small indicator somewhere of the window it thinks you want to switch to. If the app guessed right, you hit a keyboard shortcut and switch to it. If the app guessed wrong, you just ignore the suggestion, like with Copilot.
null
haiku2077
Reminds me of how some FPS games have a "quick weapon switch" button to toggle to a specific weapon separate from the full menu of all weapons.
thenthenthen
Uh.. it does not? Alt+Tab on windows switches all the windows, indiscriminately. Cmd+Tab on osx only switches between apps? If you have two Firefox windows on osx, you need Cmd+~ to switch between them, when you have finally reached the Firefox app through Cmd+Tabbing
Hello, my name is Andrew. I'm an indie developer and I'm excited to release Smart Switcher for Windows 10/11. I'm looking for feedback on the overall project and the application itself.
I built this because I couldn't find a window switching/management solution that worked for me. I tried all kinds of different solutions, virtual desktop extensions, obscure GUI window managers, you name it. Overtime I realized I wanted something that prioritizes one window at a time, is keyboard driven with has minimal if no GUI elements. I figured this part out, but knew something was missing. I had my eureka moment when I realized I could combine my switching method with a prediction algorithm. This led to the creation of Smart Switcher.
Smart Switcher is a data driven window switcher aimed at improving the overall window switching experience. It logs data on your windows switching, then a prediction algorithm analyzes this data and uses it to predict which window you would want to switch to next. When you need to switch windows, you press the switch shortcut to switch to the next predicted window. If this isn't the window you wanted, press the override shortcut to switch to the next most likely window. You can press the override shortcut as many times as needed until you arrive at your desired window.
It’s a paid app with a demo and trial version. There is a introductory discount and some additional discount tiers for early adopters.
Any feedback is appreciated! Thanks!