fix: waybar vpn indicator not displaying

This commit is contained in:
Swarsel 2024-08-10 17:13:37 +02:00
parent 4c94778364
commit 560bc48259
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 6 additions and 2 deletions

View file

@ -175,7 +175,7 @@
};
"custom/vpn" = {
format = "VPN ";
format = "()";
exec = "echo '{\"class\": \"connected\"}'";
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
return-type = "json";