diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-20 12:31:58 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-20 12:31:58 -0500 |
| commit | e2a0cf2a79b43f9f86b74270f3d96fe300687804 (patch) | |
| tree | a87edf55f81e78f4d0968d6f006562090260e068 /linux-ncaps.sh | |
| parent | ec83443853116b07f18fbef8c6de31cf157939a0 (diff) | |
| download | dotfiles-e2a0cf2a79b43f9f86b74270f3d96fe300687804.tar.gz dotfiles-e2a0cf2a79b43f9f86b74270f3d96fe300687804.tar.xz | |
Cleanup unused files and code.
Diffstat (limited to 'linux-ncaps.sh')
| -rw-r--r-- | linux-ncaps.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/linux-ncaps.sh b/linux-ncaps.sh deleted file mode 100644 index 82d3aa4..0000000 --- a/linux-ncaps.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -set -e -set -x -_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' -# This is a fucking lifesaver -# 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 |
