aboutsummaryrefslogtreecommitdiffstats
path: root/keymap.kbd
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-02-16 11:04:29 +0000
committerterminaldweller <thabogre@gmail.com>2022-02-16 11:04:29 +0000
commit02e71fa35cfe698d879a26681ed68cd4e282b328 (patch)
tree132ed5aea1afa6ca94e4f297bf7d357522ff7bb1 /keymap.kbd
parentEUID is a bash variable. cant use it even though its faster. (diff)
downloadscripts-02e71fa35cfe698d879a26681ed68cd4e282b328.tar.gz
scripts-02e71fa35cfe698d879a26681ed68cd4e282b328.zip
kmonad
Diffstat (limited to 'keymap.kbd')
-rw-r--r--keymap.kbd54
1 files changed, 54 insertions, 0 deletions
diff --git a/keymap.kbd b/keymap.kbd
new file mode 100644
index 0000000..e8444b5
--- /dev/null
+++ b/keymap.kbd
@@ -0,0 +1,54 @@
+#| --------------------------------------------------------------------------
+(deflayer devi
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _
+)
+(defsrc
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
+ tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+
+ caps a s d f g h j k l ; ' ret kp4 kp5 kp6
+ lsft z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
+ lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
+)
+-------------------------------------------------------------------------- |#
+(defcfg
+ input (device-file "/dev/input/by-id/usb-DATACOMP_SteelS쀁̄Љ̒DATA-event-kbd")
+ output (uinput-sink "KMonad output")
+
+ cmp-seq lalt
+ fallthrough true
+ allow-cmd false
+)
+
+(defsrc
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
+ tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+
+ caps a s d f g h j k l ; ' ret kp4 kp5 kp6
+ lsft z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
+ lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
+)
+
+(defalias
+ crs (tap-next } rsft)
+ cls (tap-next { lsft)
+ crc (tap-next ] rctl)
+ clc (tap-next [ lctl)
+ cra (tap-next \) ralt)
+ cla (tap-next \( lalt)
+ ccp (tap-next esc lctl)
+)
+
+(deflayer devi
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ @ccp _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ @cls _ _ _ _ _ _ _ _ _ _ @crs _ _ _ _ _
+ @clc _ @cla _ @cra _ _ @crc _ _ _ _ _
+)