statusbar: fix vpnstatus not showing inside of ETH network (non-vpn)

This commit is contained in:
Alexander Bocken 2024-09-17 10:45:24 +02:00
parent c12e14fb65
commit 52af3677cf
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,5 +1,5 @@
#!/bin/bash
pgrep openconnect > /dev/null && if ping -c 1 -W 1 -q webprint.ethz.ch > /dev/null;
if ping -c 1 -W 1 -q webprint.ethz.ch > /dev/null;
then
printf '🔬'
fi