11 Commits

Author SHA1 Message Date
snailed
1e35ff5c7d
Fix remapd causing hang at start 2023-12-14 09:43:23 +01:00
snailed
d9a66e1c1d
Update remapd 2023-12-13 14:32:33 +01:00
snailed
ad9f509871
Improve remapd detection
Previously remapd would trigger whenever a USB device was attached. This patch changes that to only trigger the script when the output of `xinput --list` changes. This has the added bonus of making the script posix compliant.
2023-12-13 14:27:38 +01:00
Luke Smith
88477d8497
use bash procsub 2023-02-09 11:52:47 -05:00
Luca Bilke
457539c043 remove complexity 2023-02-09 17:11:16 +01:00
Luca Bilke
ec1914e0b9 fix broken trap 2023-02-09 15:39:31 +01:00
snailed
cc53f7be1c
Clean up remapd
I found a much better way of doing this, without a potentially too short sleep. This script waits for an input to be added, and then waits for a usb device to be bound. The remaps script can be run as soon as the USB device is bound. These changes should improve the reliability of the script and maybe even decrease latency.
2023-02-09 09:23:22 +00:00
Luke Smith
b35102679a
actually make the script a script 2023-02-08 13:35:57 -05:00
Luke Smith
6d75bbdf8c
remaps run by remapd automatically on startup 2023-02-06 20:45:11 -05:00
Luke Smith
136456e4fa
add comment, remove remaps from displayselect 2023-02-06 18:19:09 -05:00
snailed
53a66c6254
Create remapd
This script will automatically run remaps when it detects a line in dmesg that contains "input:"
2023-02-06 21:15:02 +00:00