disable GUI

This commit is contained in:
Shihaam Abdul Rahman 2024-01-07 02:03:05 +05:00
parent 1851aeae89
commit f63038e439
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -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"