Swayscript: Fix networkwidget nmcli command check.
This commit is contained in:
parent
701652ada6
commit
0f1cda0058
|
@ -36,7 +36,7 @@ function networkwidget() {
|
|||
icon=""
|
||||
fi
|
||||
|
||||
if ! $(command -v nmcli); then
|
||||
if ! command -v nmcli &> /dev/null; then
|
||||
class="disabled"
|
||||
icon=""
|
||||
elif [[ ${internet} != "full" ]]; then
|
||||
|
|
Loading…
Reference in a new issue