mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
let's try with ripgrep
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
interval = 3;
|
interval = 3;
|
||||||
format = "{}";
|
format = "{}";
|
||||||
exec = ''
|
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"}'
|
echo '{"text":" VPN On","class":"vpn-on"}'
|
||||||
else
|
else
|
||||||
echo '{"text":" VPN Off","class":"vpn-off"}'
|
echo '{"text":" VPN Off","class":"vpn-off"}'
|
||||||
|
|||||||
Reference in New Issue
Block a user