Skip to content

Instantly share code, notes, and snippets.

@aaronedev
Last active April 28, 2025 09:21
Show Gist options
  • Save aaronedev/a72ca6ec56fc128da2d92bdeac234773 to your computer and use it in GitHub Desktop.
Save aaronedev/a72ca6ec56fc128da2d92bdeac234773 to your computer and use it in GitHub Desktop.
keyd config gist in /etc/keyd for sharknoon DE keyboard
# By default, each key is bound to itself within the main layer. The exception to this are the modifier keys, which are instead bound to eponymously named layers with the corresponding modifiers.
# For example, meta is actually bound to layer(meta), where meta is internally defined as meta:M.
# The full set of modifier bindings are as follows:
# control = layer(control)
# meta = layer(meta)
# shift = layer(shift)
# leftalt = layer(alt)
# rightalt = layer(altgr)
[ids]
0c45:8513
[main]
capslock = overload(control, esc)
leftcontrol = layer(control)
rightcontrol = oneshot(control)
rightshift = oneshot(shift)
leftalt = oneshot(alt)
rightalt = oneshot(altgr)
# 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)
[meta]
1 = f1
2 = f2
3 = f3
4 = f4
5 = f5
6 = f6
7 = f7
8 = f8
9 = f9
0 = f10
minus = f11
equal = f12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment