From 615c2a41f4293d517237125c2aad6f88f9226db0 Mon Sep 17 00:00:00 2001 From: GHPS Date: Thu, 6 May 2021 16:52:25 +0200 Subject: [PATCH] Fix corrupted QR code image in various fonts (affected fonts include Ubuntu Mono, Mitra Mono, InconsolataGo Nerd Mono) --- scripts/wireguard/qrcodeCONF.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wireguard/qrcodeCONF.sh b/scripts/wireguard/qrcodeCONF.sh index 6d980fe..55f1e83 100755 --- a/scripts/wireguard/qrcodeCONF.sh +++ b/scripts/wireguard/qrcodeCONF.sh @@ -60,7 +60,7 @@ for CLIENT_NAME in "${CLIENTS_TO_SHOW[@]}"; do if grep -qw "${CLIENT_NAME}" clients.txt; then echo -e "::: Showing client \e[1m${CLIENT_NAME}\e[0m below" echo "=====================================================================" - qrencode -t ansiutf8 < "${CLIENT_NAME}.conf" + qrencode -t ansi256 < "${CLIENT_NAME}.conf" echo "=====================================================================" else echo -e "::: \e[1m${CLIENT_NAME}\e[0m does not exist"