commit b8db67444428be0ba7a061a447095567bf101a49 parent ab9f374188d5768042f5f1f404b6664c338b51d4 Author: tongong <tongong@gmx.net> Date: Sun, 13 Feb 2022 10:58:22 +0100 updated kmonad config Diffstat:
M | config/kmonad/config.kbd | | | 4 | ++-- |
A | config/kmonad/config2.kbd | | | 16 | ++++++++++++++++ |
A | config/systemd/user/kmonad2.service | | | 11 | +++++++++++ |
3 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/config/kmonad/config.kbd b/config/kmonad/config.kbd @@ -8,9 +8,9 @@ (defsrc caps - ' ;; ä on the german keyboard + ;; ' ;; ä on the german keyboard ) (deflayer base (tap-hold-next 300 esc lctl) - (tap-hold-next 300 ' lmet) + ;; (tap-hold-next 300 ' lmet) ) diff --git a/config/kmonad/config2.kbd b/config/kmonad/config2.kbd @@ -0,0 +1,16 @@ +(defcfg + input (device-file "/dev/input/by-id/usb-RAPOO_Rapoo_2.4G_Wireless_Device-if02-event-kbd") + output (uinput-sink "kmonad-output") + + fallthrough true + allow-cmd false +) + +(defsrc + caps + ;; ' ;; ä on the german keyboard +) +(deflayer base + (tap-hold-next 300 esc lctl) + ;; (tap-hold-next 300 ' lmet) +) diff --git a/config/systemd/user/kmonad2.service b/config/systemd/user/kmonad2.service @@ -0,0 +1,11 @@ +[Unit] +Description=kmonad keyboard config + +[Service] +Restart=always +RestartSec=3 +ExecStart=/usr/bin/kmonad %E/kmonad/config2.kbd +Nice=-20 + +[Install] +WantedBy=default.target