From 9670eb84451d72f98d0efcede5cecc7f6b8d3623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 16 Dec 2022 19:43:51 +0100 Subject: [PATCH] i3status-rust: Make ping more robust --- i3/i3status-rs.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/i3status-rs.toml b/i3/i3status-rs.toml index af64c90..37fa8cb 100644 --- a/i3/i3status-rs.toml +++ b/i3/i3status-rs.toml @@ -78,7 +78,7 @@ signal = 0 [[block]] block = "custom" -command = "ping -c 1 8.8.8.8 >/dev/null 2>/dev/null && echo || echo " +command = "ping -n -q -w 2 -c 1 8.8.8.8 >/dev/null 2>/dev/null && echo || echo " [[block]] block = "time"