This repository is an implementation of swapping the CapsLock and Delete Keys on MacOS using a LaunchAgent *.plist (XML) file, which invokes the command line tool /usr/bin/hidutil
.
To install, from this cloned repository, type:
./install.sh
Then restart the computer. Your keys will be swapped for all applications!