Repository navigation
Show Superwhisper's recording glow on the launcher - #65
Open
nchudleigh wants to merge 1 commit into
Open
nchudleigh wants to merge 1 commit into
nchudleigh wants to merge 1 commit into
Conversation
While the launcher is open it holds the keyboard, so dictation lands in it, but Superwhisper drew its recording glow (or pill) on the window underneath. A small helper, services/superwhisper-frame.py, owns com.superwhisper.ShellOverlay while the launcher is open and publishes the card's monitor and geometry as its Frame property; Superwhisper's indicator then follows the card instead of the focused window, and returns to the window when the launcher closes. Without Superwhisper or PyGObject it idles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
While omacast is open it holds the keyboard, so dictation goes into it, but Superwhisper draws its recording glow (or pill) on the window underneath.
Change
services/superwhisper-frame.pyruns alongside the shell. While the launcher is open it ownscom.superwhisper.ShellOverlayon the session bus and publishes the card's monitor and geometry as aFrameproperty. Superwhisper's indicator then draws its glow or pill on the card, as it does on any focused window, and goes back to the window when the launcher closes. Without Superwhisper or PyGObject the helper does nothing. The README's dependencies section describes it.Notes
Testing
node --test tests/*.test.jsandomarchy plugin validate .pass. Checked live against a development build of Superwhisper: the glow and the pill draw on the card while it transcribes, and dictated text lands in the query.Screenshots
Superwhisper's edge glow on the card while it transcribes (lower edge):
With the pill style instead:
🤖 Generated with Claude Code