mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 19:28:26 +02:00
@@ -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"}'
|
||||
|
||||
Reference in New Issue
Block a user