Repository navigation
Return Caps Lock to normal and make Shift + Caps Lock the compose key - #14939
Merged
Merged
Conversation
Caps Lock as compose, with both Shifts as Caps Lock, confused too many people. Stock XKB has no option for compose on the shifted Caps key, so Omarchy defines one in /etc/xkb, which libxkbcommon reads before the system rules. The explicit actions keep the Shift level from toggling Caps Lock. Lone Shift is no longer part of Caps Lock, which leaves it free for input methods. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 task done
omarchybot
added a commit
to rdoupe/omarchy
that referenced
this pull request
Oct 11, 2026
quattro removed the Caps Lock entry this section sat after (omacom#14939), so the new entry now follows the Spotify note directly. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2 of 3 tasks
elieltondias
approved these changes
Oct 11, 2026
omarchybot
added a commit
to nfortunato8-bit/omarchy
that referenced
this pull request
Oct 13, 2026
Since omacom#14939, CapsLock is a normal Caps Lock and Shift + CapsLock is the compose key, so the new table writes every sequence in that form, the keyboard page keeps its rewritten paragraph with the accents link added, and the troubleshooting hunk goes with the section it edited. Co-Authored-By: Claude Opus 5.5 <[email protected]>
20 of 34 tasks
4 tasks
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.
Caps Lock as the compose key, with both Shifts as Caps Lock, confused too many people. This returns Caps Lock to its normal function and moves compose to
Shift + Caps Lock, so the quick emojis and completions becomeShift + CapsLock M Sand so on.Stock XKB has no option for compose on the shifted Caps key, so Omarchy defines one:
etc/xkb/rules/evdevaddsomarchy:shift_caps_composeon top of the system rules.etc/xkb/symbols/omarchymakes Caps giveCaps_Lockand Shift + Caps giveMulti_key. The actions are explicit, so the Shift level doesn't inherit the key's Lock modifier and toggle Caps Lock on every compose./etc/xkbbefore the system rules. omarchy-settings already installs the wholeetc/tree, so no packaging change is needed.default/hypr/input.luausesomarchy:shift_caps_composein place ofcompose:caps,shift:both_capslock_cancel.A lone Shift is no longer part of Caps Lock, which clears the way for xdanger's Shift-to-switch suggestion from #14433. That will be a follow-up PR.
The manual's hotkey tables,
kb_optionsexamples and the input page are updated, and the "Why isn't Caps Lock working?" troubleshooting entry is removed. Users who overridekb_optionsin~/.config/hypr/input.luakeep their own setting.Testing:
hyprland-keyboard-layout-test.shexpects the new option and compiles the shipped option withxkbclito check that Caps keeps its lock action and Shift + Caps composes with no action.Shift + CapsLock m sgives 😄 consistently.Dev-linked checkouts need the files in place once before switching to this branch, since they don't come from the package:
sudo cp -r etc/xkb /etc/.🤖 Generated with Claude Code