You can configure which features you want to have enabled. I have this running with just the gps locate functionaly enabled in case I misplace my phone or my wife wants to check to see if I'm almost home yet or something.
- Posts
- 0
- Comments
- 58
- Joined
- 2 yr. ago
- Posts
- 0
- Comments
- 58
- Joined
- 2 yr. ago
I wrote a little script a while back that would save a temp file with fswebcam, run zbarimg on it to decode the qr, delete the temp file and if it worked it would pipe the output into xclip/wl-copy, otherwise it would try again (up to 8 times).
I hooked it up to a keyboard shortcut and I'll see the webcam light flash one or two times when I hit it, then know it's good.
It wouldn't be a ton of work to also have a popup with the qr value using zenity or something, maybe use the --question and pass it "copy $output to clipboard?". You could have an --error if all the scan attempts failed.
Feel free to shoot me a pm if you want help.