Repository navigation
Conversation
…ive them wtype types through a keymap XWayland clients never load, so its Shift+Insert reaches them as Shift+Escape and nothing is pasted. The clipboard history paste, file paste and emoji picker now send the chord through Hyprland's send_key_state, as the universal clipboard bindings do.
In type mode wtype's keys reach XWayland apps, such as the ChatGPT and Hermes desktop apps, as Escape and digits instead of the transcript. New installs copy the transcript and paste it from the output hooks with a Shift+Insert sent by Hyprland. The hooks only paste after real output, not after a cancelled or empty recording, and only in clipboard mode.
bscott
force-pushed
the
fix/voxtype-xwayland-paste
branch
from
November 14, 2026 18:30
4954a80 to
7feb244
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.
Follow-up to omacom/omarchy#16537, addressing the restart/cancellation review.
If Voxtype stops after
beginbut beforeend, its output marker survives. Cancelling a recording after the restart then treats that old marker as new output and pastes the previous clipboard contents.The marker now records the daemon PID and process start time. Both hooks resolve the daemon through Voxtype's runtime PID file, avoiding temporary hook-shell PIDs and supporting manual launches as well as the service. Comparing the start time also distinguishes a reused PID.
endconsumes the marker and pastes only for the matching daemon; stale, legacy, and unverifiable markers are discarded.Validation on an HP ZBook / Ryzen AI MAX+ PRO 395 / Radeon 8060S:
end, and type/paste modes.The native hook fixture models Voxtype's PID-file and
sh -cbehavior from v1.1.1 source. Voxtype is not installed on this laptop, so audio transcription and a real Voxtype service restart were not exercised.This PR targets your existing branch so it can be incorporated directly into upstream omacom#16537.