Map Fn+Z/X to F11/F12, upgrade Alpine Edge rootfs, and update docs
This commit is contained in:
1 parent
e8065bb014
commit
e2981455ed
9 files changed
+32
-21
No files matched your search
@@ -44,7 +44,7 @@ cat /tmp/gemini_dump.xkb
|
||||
|
||||
dump = res.stdout
|
||||
checks = [
|
||||
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10",
|
||||
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12",
|
||||
"asciitilde", "EuroSign", "Super_L", "ISO_Level3_Shift", "Mod4", "Mod5",
|
||||
"GEMINUX_LALT", "GEMINUX_FN", "SetMods(modifiers=Mod4)",
|
||||
'include "complete+custom"',
|
||||
@@ -56,10 +56,13 @@ cat /tmp/gemini_dump.xkb
|
||||
]
|
||||
for token in checks:
|
||||
assert token in dump, f"Expected '{token}' in compiled XKB dump"
|
||||
# Verify digit AE01 order: [ 1, exclam, F1, asciitilde ]
|
||||
# Verify digit AE01 and AB01/AB02 Z/X -> F11/F12 order
|
||||
norm_dump = " ".join(dump.split())
|
||||
assert "[ 1, exclam, F1, asciitilde ]" in dump or \
|
||||
"1, exclam, F1, asciitilde" in " ".join(dump.split()), \
|
||||
"1, exclam, F1, asciitilde" in norm_dump, \
|
||||
"AE01 digit/F1/tilde mapping mismatch"
|
||||
assert "z, Z, F11, guillemotleft" in norm_dump, "AB01 Z/F11 mapping mismatch"
|
||||
assert "x, X, F12, guillemotright" in norm_dump, "AB02 X/F12 mapping mismatch"
|
||||
|
||||
with open(os.path.join(BASE_DIR, "src", "dwm", "dwm.c"), "r", encoding="utf-8") as f:
|
||||
dwm_src = f.read()
|
||||
|
||||
Reference in new issue
Block a user