summaryrefslogtreecommitdiff
path: root/qrread
blob: ef0c39421e1e1a1730627ca4b3096e8808ef0b7f (plain)
1
2
3
#!/bin/sh

maim -u -s /tmp/qr.png && zbarimg -S test-inverted -q --raw /tmp/qr.png | tr -d '\n' | xclip -selection clipboard && notify-send "QR Code" "Contents copied to clipboard"