Repository navigation
Launcher - switch to an app's open window instead of relaunching - #31
Merged
Merged
Conversation
Contributor
Author
|
I was using my own switcher, but yours has better ui. I was used to macos behavior too of using alt+space for app switching all the time. never user mouse to nav between apps. |
cpreston321
added a commit
to cpreston321/oma-cast
that referenced
this pull request
Oct 26, 2026
…indow instead of relaunching
Contributor
|
hey there @gcaraciolo I like this change! wanna fix the conflict and I can merge? |
Enter on an app now focuses its most recently used window, which also
switches to its workspace, and launches only when no window is open.
Windows match by desktop id, StartupWMClass, or the URL Chromium/Brave
web app classes are built from. Shift+Enter ("Open New Window") always
starts a new instance.
The focus waits for the launcher's layer to unmap: Hyprland refuses
focus while it holds exclusive keyboard focus and refocuses the previous
window when it goes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
On Omarchy 4.5's floating workspaces focus doesn't raise a window, so switching to an open app could leave it behind the others. After focus lands the window is now brought to the top, and one minimized to the dock is first moved back to the current workspace, the same way the dock does it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cpow
force-pushed
the
focus-open-app-windows
branch
from
October 29, 2026 13:02
1be6a36 to
8a89b66
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Picking an app that's already open starts a second instance — the
appaction always calledappLibrary.launch, which doesn't look at existing windows.Coming from Raycast, opening Slack means going to Slack; a new instance should be the deliberate choice, not the default.