[polybar] Fix bug at nmcli_manager

This commit is contained in:
Daniel Carrillo 2019-10-04 19:18:23 +02:00
parent 94c6b416dd
commit 404ce6eab6
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ function switch_connections()
local name="$1"
local status=$2
if [[ "$status" == "UP" ]]; then
if [[ "$status" == "" ]]; then
nmcli connection down "$name"
else
nmcli connection up "$name"