feat: add custom keyboard layout
We are so back (my keyboard is tiny)
This commit is contained in:
10
dot_xkb/symbols/us-escape-grave
Normal file
10
dot_xkb/symbols/us-escape-grave
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// Custom US layout with Caps Lock as Escape and Escape as Grave (`)
|
||||||
|
|
||||||
|
xkb_symbols "basic" {
|
||||||
|
include "us(altgr-intl)"
|
||||||
|
|
||||||
|
name[Group1]="The best keyboard layout ever";
|
||||||
|
|
||||||
|
key <CAPS> { [ Escape ] }; // Remap Caps Lock to Escape
|
||||||
|
key <ESC> { [ grave ] }; // Remap Escape to Grave (`)
|
||||||
|
};
|
||||||
@@ -88,7 +88,7 @@ scale 0.85
|
|||||||
#
|
#
|
||||||
# or input <identifier>
|
# or input <identifier>
|
||||||
input "type:keyboard" {
|
input "type:keyboard" {
|
||||||
xkb_layout us,ara
|
xkb_layout us-escape-grave,ara
|
||||||
xkb_variant ,ergoarabic
|
xkb_variant ,ergoarabic
|
||||||
xkb_options grp:alt_shift_toggle,compose:ralt,caps:escape
|
xkb_options grp:alt_shift_toggle,compose:ralt,caps:escape
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user