aboutsummaryrefslogtreecommitdiff
path: root/remap.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-20 15:26:26 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-20 15:26:26 -0500
commit80f30a70e631f356c76fe8fba7a79c1ebb7e8399 (patch)
tree3b7bda6173375e6ba5813da734cf50dd4dba0123 /remap.sh
parent7f12f2f81574bb8e76aed5a6a65ad23bde32eae4 (diff)
downloaddotfiles-80f30a70e631f356c76fe8fba7a79c1ebb7e8399.tar.gz
dotfiles-80f30a70e631f356c76fe8fba7a79c1ebb7e8399.tar.xz
Further adjust key remappings
Diffstat (limited to 'remap.sh')
-rw-r--r--remap.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/remap.sh b/remap.sh
deleted file mode 100644
index 37ae9a6..0000000
--- a/remap.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-set -ex
-_s="sudo"
-[ "$(id -u)" -eq 0 ] && _s=""
-hwdb_f="$(mktemp)"
-cat > "$hwdb_f" <<EOF
-# /etc/udev.d/hwdb/01-keyboard.hwdb
-# https://wiki.archlinux.org/title/map_scancodes_to_keycodes
-# also 'yum -y install evtest'
-# evdev:name:AT Translated Set 2 keyboard:*
-# systemd-hwdb update && udevadm trigger
-# or perhaps:
-# udevadm hwdb -u
-# This should match all AT keyboards, apparently
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*
- KEYBOARD_KEY_3a=leftctrl
- KEYBOARD_KEY_1d=leftctrl
- KEYBOARD_KEY_9d=capslock
-EOF
-
-$_s cp "$hwdb_f" /etc/udev/hwdb.d/01-keyboard.hwdb
-$_s systemd-hwdb update
-$_s udevadm trigger