bashrc: Improve main keyboard device detection for esekeyd

- Skip input device nodes which are not keyboards, some keyboards claim an extra mouse HID interface for some reason