Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 237 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 237 Bytes

barcode reader

flake to handle barcode readers

How to use

nix build
sudo ./result/bin/barcode-reader /dev/input/by-id/usb-<your-barcode-scanner> | \
while read line
do
  echo "Yey I just scanned this '$line'"
done