User avatar
mia (developer mode)
@mia@shrimptest.0x0.st
aight, modified carpalx!

notably, maps capslock so it’s backspace, and esc when pressed with shift (like workman)
then also swaps left alt and shift

now you get thumb shift, left pinky backspace, AND LAlt+caps = esc!

$XDG_CONFIG_HOME/xkb/rules/evdev.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xkbConfigRegistry SYSTEM "xkb.dtd">
<xkbConfigRegistry version="1.1">
  <layoutList>
    <layout>
      <configItem>
        <name>us</name>
      </configItem>
      <variantList>
        <variant>
          <configItem>
            <name>mia</name>
            <shortDescription>mia</shortDescription>
            <description>English (mia, intl., with AltGr dead keys)</description>
          </configItem>
        </variant>
      </variantList>
    </layout>
  </layoutList>
</xkbConfigRegistry>



$XDG_CONFIG_HOME/xkb/symbols/us:
partial alphanumeric_keys modifier_keys
xkb_symbols "mia" {

   include "us(carpalx-full-altgr-intl)"
   name[Group1]= "English (mia, intl., with AltGr dead keys)";

    key <AC07> { [ e,          E,        eacute,             Eacute ] };
    key <AC08> { [ a,          A,        aacute,             Aacute ] };

    key <AD06> { [ k,          K,        idiaeresis,         Idiaeresis ] };
    key <AB06> { [ b,          B,        U0131,              U0130 ] };
    key <AB09> { [ period,     greater,  ellipsis,           dead_caron ] };
    key <AC11> { [ apostrophe, quotedbl, doublelowquotemark, dead_acute ] };

    key <CAPS> { [ BackSpace,  Escape,   BackSpace,          BackSpace ] };
    key <LALT> { [ Shift_R ] };
    key <LFSH> { [ Alt_L ]};
};