Skip to content

Instantly share code, notes, and snippets.

@KarimullinArthur
Last active July 23, 2023 18:19
Show Gist options
  • Save KarimullinArthur/28434b2c7a392480d64221b79c48449c to your computer and use it in GitHub Desktop.
Save KarimullinArthur/28434b2c7a392480d64221b79c48449c to your computer and use it in GitHub Desktop.
kbct config file
[Unit]
Description=Rebind my keyboard via kbct
[Service]
Type=simple
ExecStart=sudo kbct remap --config /home/arthur/.config/kbct.yaml
Restart=always
[Install]
WantedBy=default.target
# Apply this configuration to two keyboards (if connected)
- keyboards: ["AT Translated Set 2 keyboard"]
keymap:
capslock: backspace
backspace: capslock
context_menu: capslock
compose: rightmeta
# Specify layered configurations (much similar to fn+F keys)
layers:
# Specify the modifiers of the layer
- modifiers: ['rightshift']
keymap:
capslock: capslock
- modifiers: ['leftshift']
keymap:
compose: compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment