diff --git a/scan.sh b/scan.sh index cc6439a..6290ecb 100755 --- a/scan.sh +++ b/scan.sh @@ -11,7 +11,7 @@ if [[ $XDG_SESSION_TYPE != "x11" ]]; then fi -zbarcam $1 | while read line; do +zbarcam --nodisplay $1 | while read line; do if [[ $line == *:* ]]; then code="${line#*:}" echo "$code"