Last active
April 9, 2023 14:11
-
-
Save IlanFrumer/49f0051ae57f1dcac29b2ee1cad1dbf9 to your computer and use it in GitHub Desktop.
interception-tools arch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install packages | |
sudo pacman -S interception-tools interception-caps2esc --noconfirm | |
# Enabled udevmon service | |
sudo systemctl enable --now udevmon | |
# Restart when udevmon.yaml changes | |
sudo systemctl restart udevmon.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/interception/udevmon.yaml | |
- JOB: intercept -g $DEVNODE | caps2esc | uinput -d $DEVNODE | |
DEVICE: | |
EVENTS: | |
EV_KEY: [KEY_CAPSLOCK, KEY_ESC] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment