Skip to content

Instantly share code, notes, and snippets.

@aaronedev
Created May 6, 2025 03:39
Show Gist options
  • Save aaronedev/c0b77822286ff24b543ef96e5b6c8ce1 to your computer and use it in GitHub Desktop.
Save aaronedev/c0b77822286ff24b543ef96e5b6c8ce1 to your computer and use it in GitHub Desktop.
keyd config gist in /etc/keyd for HP Laptop DE keyboard
# ╔════════════════════════════════╗
# ║ ░█░█░█▀█░░░█░░░█▀█░█▀█░█▀█░█░█ ║
# ║ ░█▀█░█▀▀░░░█░░░█▀█░█▀▀░█▀▀░░█░ ║
# ║ ░▀░▀░▀░░░░░▀▀▀░▀░▀░▀░░░▀░░░░▀░ ║
# ╚════════════════════════════════╝
[ids]
0001:0001
[main]
capslock = overload(control, esc)
rightcontrol = oneshot(control)
rightshift = oneshot(shift)
rightalt = oneshot(alt)
apostrophe = overloadt(shift, apostrophe, 278)
semicolon = overloadt(control, semicolon, 278)
grave = overloadt(alt, grave, 279)
# mouse
kp7 = leftmouse
kp8 = middlemouse
kp9 = rightmouse
# scroll
kp4 = pageup
kp5 = pagedown
# fast nav
kp0 = macro(~/dotfiles/)
kp1 = macro(~/.)
kp2 = macro(~/.profile)
kp3 = macro(~/.bashrc)
kpdot = macro(~/.bash_profile)
# control keys
kpminus = oneshot(alt)
kpplus = oneshot(control)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment