diff options
Diffstat (limited to 'home/dots/.config/kmonad.config')
-rw-r--r-- | home/dots/.config/kmonad.config | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/home/dots/.config/kmonad.config b/home/dots/.config/kmonad.config new file mode 100644 index 0000000..f0f26e5 --- /dev/null +++ b/home/dots/.config/kmonad.config @@ -0,0 +1,33 @@ +(defcfg + input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd") + output (uinput-sink "My KMonad output" "sleep 2; xset r rate 200 60;") + + ;; Comment this if 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 caps lmet lalt lsft rsft lmet rmet) + +;; (defalias +;; ctl-lck (stepped +;; (around (cmd-button "dbus-send --session --print-reply --reply-timeout=2000 --type=method_call --dest=org.emacs.ctrl /on org.freedesktop.DBus.Introspectable.Introspect") (press-only lctl)) +;; (around (cmd-button "dbus-send --session --print-reply --reply-timeout=2000 --type=method_call --dest=org.emacs.ctrl /off org.freedesktop.DBus.Introspectable.Introspect") (release-only lctl)))) + +(defalias + slc (sticky-key 700 lctl) + slm (sticky-key 700 lmet) + sla (sticky-key 700 lalt) + slf (sticky-key 700 lsft) + srf (sticky-key 700 rsft)) + +(deflayer mine + @slc + @slm + @sla + @slf + @srf + (sticky-key 700 lmet) + (sticky-key 700 rmet)) |