From f63038e439d19a726c9db215d2ea8f7bf9011bf3 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 7 Jan 2024 02:03:05 +0500 Subject: [PATCH] disable GUI --- scan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"