Open fuyarchuk-kg opened 2 months ago
I have a small script
#!/bin/bash if echo "$(wget --spider -t 1 -T 1 https://www.google.com 2>&1)" | grep -q "OK"; then echo "✦| dropdown=false" echo "---" echo "You're online" else echo "✧|color=#f23400 dropdown=false" echo "---" echo "You're offline" fi
If a run it from terminal I get right output. But xbar output is always you're offline.
I have a small script
If a run it from terminal I get right output. But xbar output is always you're offline.