caps2esc:logo4alt

Interception tools plugin that maps caps->{esc,ctrl} and logo<->alt
git clone git://git.deurzen.net/caps2esc:logo4alt
Log | Files | Refs | README | LICENSE

commit 186b887e7d797bcb59637a58df260e01bff2c4b1
parent c738e8783a3293ba2a98da975872db752c1ddb2d
Author: Francisco Lopes <francisco@nosubstance.me>
Date:   Wed, 30 Dec 2020 23:16:17 -0300

Make multi device example more robust

The previous one won't work when devices reattach.

Diffstat:
MREADME.md | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md @@ -75,14 +75,11 @@ example configuration taken from my laptop: ```yaml SHELL: [zsh, -c] --- -- JOB: mux -c caps2esc -- JOB: - - intercept -g $DEVNODE | mux -o caps2esc - - mux -i caps2esc | caps2esc | uinput -d $DEVNODE +- JOB: mux -c caps2esc; mux -i caps2esc | caps2esc | uinput -d /dev/input/by-path/platform-i8042-serio-0-event-kbd +- JOB: intercept -g $DEVNODE | mux -o caps2esc DEVICE: LINK: /dev/input/by-path/platform-i8042-serio-0-event-kbd -- JOB: - - intercept $DEVNODE | mux -o caps2esc +- JOB: intercept $DEVNODE | mux -o caps2esc DEVICE: LINK: /dev/input/by-path/platform-i8042-serio-4-event-mouse ```