Skip to content

Instantly share code, notes, and snippets.

@AlexanderWingard
Created November 16, 2022 02:06
Show Gist options
  • Save AlexanderWingard/aab825da0241a51ff5cbe9ee8b0fe32a to your computer and use it in GitHub Desktop.
Save AlexanderWingard/aab825da0241a51ff5cbe9ee8b0fe32a to your computer and use it in GitHub Desktop.
(defcfg
;; ** For Linux **
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
;; input (device-file "/dev/input/by-id/usb-Matias_Ergo_Pro_Keyboard-event-kbd")
output (uinput-sink "KMonad output")
;; ** For Windows **
;; input (low-level-hook)
;; output (send-event-sink)
;; ** For MacOS **
;; input (iokit-name "my-keyboard-product-string")
;; output (kext)
fallthrough true
)
(defalias
ext (layer-toggle extend)
quit A-f4
)
(defsrc
;;cd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
caps a s d f g h j k l ; ' \ ret
lsft 102d z x c v b n m , . / rsft
lctl lmet lalt spc ralt rctl
pgup up pgdn
left down right
)
(deflayer default
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
@ext _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
_ _ _
_ _ _
)
(deflayer extend
_ mute vold volu _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ esc up ret _ _ home pgdn pgup end _ @quit _
_ left down right _ _ left down up right _ _ _ _
_ _ _ del _ _ _ ins _ _ _ _ _
_ _ _ _ _ _
_ pgup _
home pgdn end
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment