apps: qterminal terminal-friendly keyboard + dedicated workspace#2814
Merged
Conversation
qterminal.sh: - Replace plain sway_fullscreen with a workspace-99-dedicated layout so qterminal is the sole tiled window there, letting sway fill the workspace minus wvkbd's exclusive_zone without overlap or side-by-side tile artifacts. - Spawn wvkbd-mobintl with -l full,nav,special (default `simple` layout has no Ctrl/Alt/arrows — useless in a shell). Sized at -H 380 -L 380 -fn 32 for the SM8750 landscape-via-transform=90 orientation. - Stash and restore the prior workspace + rocknix.touchscreen-keyboard setting on exit via trap, so closing qterminal doesn't strand the user on workspace 99 with the on-screen keyboard still active. rocknix-touchscreen-keyboard 004-full-layout-terminal-friendly: - Rework the `full` keyboard layout's top/bottom rows: Tab moves to top-left, Ctrl moves to the bottom row (the slot 123 vacated) so it sits under Shift for one-handed modifier holds, 123 (layer switch) moves to the top row away from the cursor keys, and the comma/period pair sit side-by-side after the spacebar. Row widths preserved (10.0 each).
Contributor
|
My only issue with this PR is that with dual screen devices we would probably just want to span the keyboard on the second screen but we can resolve that later. |
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.
Summary
simplewvkbd layout lacks necessary affordances for terminal work.Testing
Additional Context
wvkbd-mobintlwithfull,nav,specialand reworks thefulllayout (Tab top-left, Ctrl under Shift, arrows clear of the layer-switch key). qterminal gets a dedicated workspace so it tiles cleanly above the keyboard's exclusive zone instead of fighting it.AI Usage
Did you use AI tools to help write this code? PARTIALLY — helped with the Sway workspace/layout side.