Created
August 22, 2019 09:21
-
-
Save defel/d21f694d2351353fc5c31283e52d9beb to your computer and use it in GitHub Desktop.
Scan QR-Code from CLI by combining zbar, grim and slurp
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
#!/usr/bin/env bash | |
grim -g "$(slurp)" - | zbarimg PNG:- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment