Allow toggling Caps Lock via both Shift keys

Adds shift:both_capslock alongside compose:caps so pressing both Shift
keys together toggles real Caps Lock. Caps Lock alone remains the
Compose key, and single-Shift behavior is unchanged. Provides an escape
hatch when Caps Lock gets stuck on (e.g. after an fcitx5 desync).

Closes #5981

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ty SmithandClaude Fable 5 authored and David Heinemeier Hansson committed 2026-07-19 20:05:39 -07:00
1 parent ca0d78e718
commit 8147489f1d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
-- input = {
-- -- Use multiple keyboard layouts and switch between them with Left Alt + Right Alt.
-- kb_layout = "us,dk,eu",
-- kb_options = "compose:caps,grp:alts_toggle",
-- kb_options = "compose:caps,shift:both_capslock,grp:alts_toggle",
--
-- -- Use a specific keyboard variant if needed (e.g. intl for international keyboards).
-- kb_variant = "intl",