mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 08:08:00 +00:00
[polybar] Fix bug at nmcli_manager
This commit is contained in:
parent
94c6b416dd
commit
404ce6eab6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user