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 Smith
2026-07-19 20:05:39 -07:00
committed by David Heinemeier Hansson
co-authored by Claude Fable 5
parent ca0d78e718
commit 8147489f1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ hl.config({
kb_layout = vconsole.XKBLAYOUT or "us",
kb_variant = vconsole.XKBVARIANT or "",
kb_model = "",
kb_options = "compose:caps",
kb_options = "compose:caps,shift:both_capslock",
kb_rules = "",
follow_mouse = 1,
sensitivity = 0,