Skip to content

Instantly share code, notes, and snippets.

@seltzered
Last active January 29, 2023 04:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seltzered/6abd954ae1365be0b31e6997a32233e7 to your computer and use it in GitHub Desktop.
Save seltzered/6abd954ae1365be0b31e6997a32233e7 to your computer and use it in GitHub Desktop.
Custom Linux KBCT Keymap for Nuphy Nutype F1 Keyboard
# Custom Linux Keymap for Nuphy Nutype F1 Keyboard
# - Swap capslock for escape
# - Swap escape combo for grave accent & tilde
# - Enable capslock via shift modifiers
# (helpful in rare scenarios where kbct screws up)
#
# Notes:
# - This remap file is intended for use with kbct.
# See https://github.com/samvel1024/kbct/
# - This config assumes (but doesn't require)
# a Nuphy Nutype F1 keyboard
# running in 'Windows Mode' available in
# Firmware 1.01 or later.
# See https://nuphy.com/pages/firmwares-for-nutype-f1
# Apply to Nutype F1 wired/bluetooth modes:
# - Bluetooth: "NUTYPE F1 Keyboard"
# - Bluetooth: "NUTYPE F1" (as of Ubuntu 22.04? Or firmware 1.01?)
# - Wired USB: "SONiX USB DEVICE"
- keyboards: [ "NUTYPE F1", "NUTYPE F1 Keyboard", "SONiX USB DEVICE"]
keymap:
capslock: esc
esc: grave
layers:
- modifiers: ['rightshift']
keymap:
capslock: capslock
- modifiers: ['leftshift']
keymap:
capslock: capslock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment