Skip to content

Instantly share code, notes, and snippets.

@semilin
Last active April 6, 2024 19:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save semilin/62412be0b185cafa5d95895e11073f2b to your computer and use it in GitHub Desktop.
Save semilin/62412be0b185cafa5d95895e11073f2b to your computer and use it in GitHub Desktop.
NotGate's ISRT Layout for Linux XKB
// Standard ISRT for ANSI and ISO keyboards
default partial
xkb_symbols "basic" {
// the default variant has no AltGr layer and does
// not use CAPS as BackSpace
include "us(basic)"
name[Group1] = "ISRT";
key <AD01> {[ y, Y ]};
key <AD02> {[ c, C ]};
key <AD03> {[ l, L ]};
key <AD04> {[ m, M ]};
key <AD05> {[ k, K ]};
key <AD06> {[ z, Z ]};
key <AD07> {[ f, F ]};
key <AD08> {[ u, U ]};
key <AD09> {[ comma, less ]};
key <AD10> {[ apostrophe, quotedbl ]};
key <AC01> {[ i, I ]};
key <AC02> {[ s, S ]};
key <AC03> {[ r, R ]};
key <AC04> {[ t, T ]};
key <AC05> {[ g, G ]};
key <AC06> {[ p, P ]};
key <AC07> {[ n, N ]};
key <AC08> {[ e, E ]};
key <AC09> {[ a, A ]};
key <AC10> {[ o, O ]};
key <AB01> {[ q, Q ]};
key <AB02> {[ v, V ]};
key <AB03> {[ w, W ]};
key <AB04> {[ d, D ]};
key <AB05> {[ j, J ]};
key <AB06> {[ b, B ]};
key <AB07> {[ h, H ]};
key <AB08> {[ slash, question ]};
key <AB09> {[ period, greater ]};
key <AB10> {[ x, X ]};
key <AC11> {[ semicolon, colon ]};
};
partial
xkb_symbols "angle" {
// the standard layout with Angle Mod applied
include "isrt"
name[Group1] = "ISRT (with Angle Mod)";
key <AB01> {[ v, V ]};
key <AB02> {[ w, W ]};
key <AB03> {[ d, D ]};
key <AB04> {[ j, J ]};
key <AB05> {[ q, Q ]};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment