From 4ccdb6fb1f53bc6c799ece8c2f03a0fede093acd Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 31 Mar 2025 12:16:47 -0400 Subject: config cleanup --- .../share/noteworthy/evremap/etc/conf.d/evremap.toml | 19 +++++++++++++++++++ .local/share/noteworthy/evremap/etc/init.d/evremap | 6 ++++++ 2 files changed, 25 insertions(+) create mode 100644 .local/share/noteworthy/evremap/etc/conf.d/evremap.toml create mode 100755 .local/share/noteworthy/evremap/etc/init.d/evremap (limited to '.local/share') diff --git a/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml new file mode 100644 index 0000000..82407de --- /dev/null +++ b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml @@ -0,0 +1,19 @@ +device_name = "AT Translated Set 2 keyboard" + +# capslock+escape combo +[[dual_role]] +input = "KEY_CAPSLOCK" +hold = ["KEY_LEFTMETA"] +tap = ["KEY_ESC"] + +# Left shift + "(" combo +[[dual_role]] +input = "KEY_LEFTSHIFT" +hold = ["KEY_LEFTSHIFT"] +tap = ["KEY_KPLEFTPAREN"] + +# Right shift + ")" combo +[[dual_role]] +input = "KEY_RIGHTSHIFT" +hold = ["KEY_RIGHTSHIFT"] +tap = ["KEY_KPRIGHTPAREN"] diff --git a/.local/share/noteworthy/evremap/etc/init.d/evremap b/.local/share/noteworthy/evremap/etc/init.d/evremap new file mode 100755 index 0000000..2a2f713 --- /dev/null +++ b/.local/share/noteworthy/evremap/etc/init.d/evremap @@ -0,0 +1,6 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon +command="/usr/local/bin/evremap" +command_args="remap /etc/conf.d/evremap.toml" + -- cgit v1.2.3