X11: Add keyboard definition for alt-intl-unicode

Use keyboard variant `alt-intl-unicode` of the `us` layout.

Also directly use the option to switch caps and escape instead of doing
it via Xmodmap.
This commit is contained in:
2022-05-06 20:28:52 +02:00
parent ef3e3387b7
commit a9debfe7cd
2 changed files with 10 additions and 6 deletions

View File

@@ -1,9 +1,3 @@
! Make unmodified Caps_Lock Esc, but keep regular Caps behaviour on Shift +
! Caps_Lock
remove Lock = Caps_Lock
keycode 66 =
keycode 66 = Escape Caps_Lock
! Do not double assign less and greater on the key right of Shift_L on an ISO ! Do not double assign less and greater on the key right of Shift_L on an ISO
! layout ! layout
keycode 94 = grave asciitilde keycode 94 = grave asciitilde

View File

@@ -0,0 +1,10 @@
# vim: ft=xf86conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
Option "XkbVariant" "alt-intl-unicode"
Option "XkbOptions" "caps:swapescape"
EndSection