fix issue with vpn waybar button

This commit is contained in:
2025-05-28 11:53:48 +02:00
parent 341472929b
commit 1b9ed79067
5 changed files with 2 additions and 16 deletions

View File

@ -95,7 +95,7 @@ else
active_device=$(nmcli -t -f DEVICE,STATE device status |
grep -w "connected" |
grep -v -E "^(dummy|lo:|virbr0)" |
grep -v -E "^(dummy|lo|virbr0|wg0):" |
awk -F: '{print $1}')
if [ -n "$active_device" ]; then