Skip to content

Instantly share code, notes, and snippets.

@ClemenPine
Last active July 26, 2021 22:41
Show Gist options
  • Save ClemenPine/f079a9c725abe2a54bc3780494a33a36 to your computer and use it in GitHub Desktop.
Save ClemenPine/f079a9c725abe2a54bc3780494a33a36 to your computer and use it in GitHub Desktop.
my custom keyboard layout - linux xkb
// Pinemak for ANSI and ISO keyboards
default partial
xkb_symbols "basic" {
include "us(basic)"
name[Group1] = "Pinemak";
key <AD01> {[ y, Y ]};
key <AD02> {[ r, R ]};
key <AD03> {[ d, D ]};
key <AD04> {[ w, W ]};
key <AD05> {[ p, P ]};
key <AD06> {[ k, K ]};
key <AD07> {[ l, L ]};
key <AD08> {[ o, O ]};
key <AD09> {[ u, U ]};
key <AD10> {[ comma, less ]};
key <AC01> {[ s, S ]};
key <AC02> {[ n, N ]};
key <AC03> {[ t, T ]};
key <AC04> {[ c, C ]};
key <AC05> {[ g, G ]};
key <AC06> {[ m, M ]};
key <AC07> {[ h, H ]};
key <AC08> {[ a, A ]};
key <AC09> {[ e, E ]};
key <AC10> {[ i, I ]};
key <AB01> {[ x, X ]};
key <AB02> {[ z, Z ]};
key <AB03> {[ v, V ]};
key <AB04> {[ f, F ]};
key <AB05> {[ b, B ]};
key <AB06> {[ j, J ]};
key <AB07> {[ q, Q ]};
key <AB08> {[ apostrophe, quotedbl ]};
key <AB09> {[ slash, question ]};
key <AB10> {[ period, greater ]};
key <AC11> {[ semicolon, colon ]};
};
partial
xkb_symbols "angle" {
// the layout with an Angle Mod
include "pinemak"
name[Group1] = "Pinemak (with Angle Mod)";
key <AB01> {[ z, Z ]};
key <AB02> {[ v, V ]};
key <AB03> {[ f, F ]};
key <AB04> {[ b, B ]};
key <AB05> {[ x, X ]};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment