Swayscript: Fix networkwidget nmcli command check.
This commit is contained in:
parent
701652ada6
commit
0f1cda0058
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue