statusbar: fix vpnstatus never showing

This commit is contained in:
Alexander Bocken 2024-09-09 15:17:43 +02:00
parent 585f192551
commit 4188c07932
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

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