From ec3b84eb9974514a07ea3ee861adcfd1c816b1c6 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Thu, 14 May 2020 20:12:12 +0200 Subject: [PATCH] fix vpn check waybar --- roles/waybar/files/waybar/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/waybar/files/waybar/config b/roles/waybar/files/waybar/config index 79a7401..78156f5 100644 --- a/roles/waybar/files/waybar/config +++ b/roles/waybar/files/waybar/config @@ -59,7 +59,8 @@ "custom/vpn": { "format": " vpn", "interval": 5, - "exec" : "systemctl is-active --quiet vpn" + "exec" : "echo a", + "exec-if" : "systemctl is-active --quiet vpn" }, "backlight": { "format": "{icon} {percent}%",