Swayscript: Fix networkwidget nmcli command check.

This commit is contained in:
Dmitry Voronin 2025-01-05 14:30:16 +03:00
parent 701652ada6
commit 0f1cda0058
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -36,7 +36,7 @@ function networkwidget() {
icon="󱚿" icon="󱚿"
fi fi
if ! $(command -v nmcli); then if ! command -v nmcli &> /dev/null; then
class="disabled" class="disabled"
icon="󱚼" icon="󱚼"
elif [[ ${internet} != "full" ]]; then elif [[ ${internet} != "full" ]]; then