1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 17:28:01 +00:00

[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

View File

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