Skip to content

Instantly share code, notes, and snippets.

@defel
Created August 22, 2019 09:21
Show Gist options
  • Save defel/d21f694d2351353fc5c31283e52d9beb to your computer and use it in GitHub Desktop.
Save defel/d21f694d2351353fc5c31283e52d9beb to your computer and use it in GitHub Desktop.
Scan QR-Code from CLI by combining zbar, grim and slurp
#!/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