- Updated Caps2 documentation

This commit is contained in:
Ben Reaves
2020-08-28 12:44:58 -05:00
parent 3ad2a7f518
commit b2284aa970
2 changed files with 43 additions and 3 deletions

View File

@@ -22,12 +22,15 @@ codeStr = "|".join(str(x) for x in mscodes)
define_multipurpose_modmap(
# {Key.ENTER: [Key.ENTER, Key.RIGHT_CTRL]} # Enter2Cmd
# {Key.CAPSLOCK: [Key.ESC, Key.RIGHT_CTRL] # Caps2Esc
# {Key.LEFT_META: [Key.ESC, Key.RIGHT_CTRL] # Caps2Esc - Chromebook
{} # Placeholder
)
# [Global modemap] Change modifier keys as in xmodmap
define_conditional_modmap(lambda wm_class: wm_class.casefold() not in terminals,{
# Key.CAPSLOCK: Key.RIGHT_CTRL, # Caps2Cmd
# Key.LEFT_META: Key.RIGHT_CTRL, # Caps2Cmd - Chromebook
# # IBM
# Key.LEFT_ALT: Key.RIGHT_CTRL, # IBM