Advertisement
Guest User

Untitled

a guest
Feb 20th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. (defcfg
  2. ;;input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
  3. input (device-file "/dev/input/by-id/usb-Telink_Trust_Deskset-if01-event-kbd")
  4.  
  5. output
  6. (uinput-sink "My KMonad output")
  7. cmp-seq ralt ;; Set the compose key to `RightAlt'
  8. cmp-seq-delay 5 ;; 5ms delay between each compose-key sequence press
  9.  
  10. ;; Comment this if you want unhandled events not to be emitted
  11. fallthrough true
  12.  
  13. ;; Set this to false to disable any command-execution in KMonad
  14. allow-cmd false
  15. )
  16.  
  17.  
  18. (defsrc
  19. grv 1 2 3 4 5 6 7 8 9 0 - = bspc
  20. tab q w e r t y u i o p [ ] \
  21. caps a s d f g h j k l ; ' ret
  22. lsft z x c v b n m , . / rsft
  23. lctl lmet lalt spc ralt rmet cmp rctl
  24. )
  25.  
  26. (defalias
  27. ;;cesc (tap-next-release esc lctl)
  28. cesc (tap-hold-next-release 140 esc (tap-next f lctl))
  29. )
  30.  
  31. (deflayer cesc
  32. _ _ _ _ _ _ _ _ _ _ _ _ _ _
  33. _ _ _ _ _ _ _ _ _ _ _ _ _ _
  34. @cesc _ _ _ _ _ _ _ _ _ _ _ _
  35. _ _ _ _ _ _ _ _ _ _ _ _
  36. _ _ _ _ _ _ _ _
  37. )
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement