diff --git a/scripts/core/sxmo_common.sh b/scripts/core/sxmo_common.sh index abe4f03..91297bb 100644 --- a/scripts/core/sxmo_common.sh +++ b/scripts/core/sxmo_common.sh @@ -234,6 +234,8 @@ icon_wif="" icon_bth="" # shellcheck disable=SC2034 icon_pls="" +# shellcheck disable=SC2034 +icon_key="" #allow the user to override icons if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/icons" ]; then diff --git a/scripts/core/sxmo_statusbar.sh b/scripts/core/sxmo_statusbar.sh index 776b6cf..d5bd0e8 100755 --- a/scripts/core/sxmo_statusbar.sh +++ b/scripts/core/sxmo_statusbar.sh @@ -26,9 +26,9 @@ update() { VPNDEVICE="$(nmcli con show | grep vpn | awk '{ print $4 }')" WGDEVICE="$(nmcli con show | grep wireguard | awk '{ print $4 }')" if [ -n "$VPNDEVICE" ] && [ "$VPNDEVICE" != "--" ]; then - VPN=" " + VPN="" elif [ -n "$WGDEVICE" ] && [ "$WGDEVICE" != "--" ]; then - VPN=" " + VPN="" fi # W symbol if wireless is connect