statusbar: fix vpnstatus never showing

This commit is contained in:
2024-09-09 15:17:43 +02:00
parent 585f192551
commit 4188c07932

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