Created
August 14, 2013 10:29
-
-
Save breunigs/6229833 to your computer and use it in GitHub Desktop.
reads barcodes/qrcodes currently visible on the screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# requires: | |
# zbar-tools scrot zenity debianutils | |
scrot "$(tempfile).png" --exec 'zbarimg "$f"; rm "$f"' 2>&1 | zenity --title "Barcode Info" --text-info --width 450 --height 300 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment