No Description

Ingolf Wagner 7ffb09892c handle signals and delete old stuff 2 weeks ago
.gitignore b94fe20608 add .gitignore 2 weeks ago
README.md f647367a82 Update README.md 2 weeks ago
default.nix a7d9b8c923 a bit of documentation 2 weeks ago
flake.lock 91b2d7df97 init 2 weeks ago
flake.nix e074f1901f add packages.barcode-reader 2 weeks ago
main.c 7ffb09892c handle signals and delete old stuff 2 weeks ago

README.md

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