How can I check if either of 2 paths exist in VPN check?
I use openvpn to connect to one provider and openconnect to another provider. In i3status I'd like to check if either path exists but I'm not sure how.
path_exists VPN {
path = "/proc/sys/net/ipv4/conf/{vpn,tun}0"
}
doesn't work and only one path statement will work. Seems I can only make the VPN check one path. Can I check if either path exists and give a YES/NO display in the status bar?
This is a use case for condition/logical operators support in config files