2023-12-13 14:32:33 +01:00

9 lines
151 B
Bash
Executable File

#!/bin/sh
# Rerun the remaps script whenever a new input device is added.
while :; do
remaps
watch -gn1 sh -c 'xinput --list | grep keyboard'
done