summaryrefslogtreecommitdiffstats
path: root/decode-barcode
diff options
context:
space:
mode:
Diffstat (limited to 'decode-barcode')
-rwxr-xr-xdecode-barcode4
1 files changed, 4 insertions, 0 deletions
diff --git a/decode-barcode b/decode-barcode
new file mode 100755
index 0000000..4d16780
--- /dev/null
+++ b/decode-barcode
@@ -0,0 +1,4 @@
+#!/bin/sh
+file=$(scrot -s -e 'echo $f')
+zbarimg --raw $file
+rm "$file"