1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-01 10:29:26 +00:00

[polybar] Change ping target for network_status module to 1.0.0.1

This commit is contained in:
2022-01-30 13:13:46 +01:00
parent bcbf336712
commit e2af60c2f4
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ tail = true
[module/network_status]
type = custom/script
exec = ~/.config/polybar/scripts/network_status
click-left = $TERMINAL_CMD "fping --elapsed --count 100 1.1.1.1"
click-left = $TERMINAL_CMD "fping --elapsed --count 100 1.0.0.1"
interval = 5
[module/vpn]

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
URL=${1:-1.1.1.1}
URL=${1:-1.0.0.1}
output=$(fping --quiet --outage --count=5 "$URL" 2>&1)
outage_output=""