Adding kmonad, and some keybinding changes
This commit is contained in:
parent
fbae04a8f1
commit
1d895277c9
6 changed files with 950 additions and 14 deletions
39
kmonad/config.kbd
Normal file
39
kmonad/config.kbd
Normal file
|
@ -0,0 +1,39 @@
|
|||
(defcfg
|
||||
;; For Linux
|
||||
input (device-file "/dev/input/by-id/usb-Razer_Razer_BlackWidow_Chroma-if01-event-kbd")
|
||||
output (uinput-sink "My KMonad output"
|
||||
;; To understand the importance of the following line, see the section on
|
||||
;; Compose-key sequences at the near-bottom of this file.
|
||||
"/run/current-system/sw/bin/sleep 1 && /run/current-system/sw/bin/setxkbmap -option compose:ralt")
|
||||
cmp-seq ralt ;; Set the compose key to `RightAlt'
|
||||
|
||||
;; For Windows
|
||||
;; input (low-level-hook)
|
||||
;; output (send-event-sink)
|
||||
|
||||
;; For MacOS
|
||||
;; input (iokit-name "my-keyboard-product-string")
|
||||
;; output (kext)
|
||||
|
||||
;; Comment this is you want unhandled events not to be emitted
|
||||
fallthrough true
|
||||
|
||||
;; Set this to false to disable any command-execution in KMonad
|
||||
allow-cmd true
|
||||
)
|
||||
|
||||
(defsrc
|
||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||
tab q w e r t y u i o p [ ] \
|
||||
lctl a s d f g h j k l ; ' ret
|
||||
lsft z x c v b n m , . / rsft
|
||||
caps lmet lalt spc ralt rmet cmp rctl
|
||||
)
|
||||
|
||||
(deflayer qwerty
|
||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||
tab q w e r t y u i o p [ ] \
|
||||
lctl a s d f g h j k l ; ' ret
|
||||
lsft z x c v b n m , . / rsft
|
||||
caps lmet lalt spc ralt rmet cmp rctl
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue