let's try with ripgrep

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-08-29 00:21:37 +02:00
parent b0c93e7e00
commit 3d6a3f62ec

View File

@@ -43,7 +43,7 @@
interval = 3;
format = "{}";
exec = ''
if ip add show | grep -qF "proton"; then
if ip add show | ${pkgs.ripgrep}/bin/rg -qF "proton"; then
echo '{"text":"󰖂 VPN On","class":"vpn-on"}'
else
echo '{"text":"󰖂 VPN Off","class":"vpn-off"}'