adding features to net info

This commit is contained in:
2025-05-07 01:56:43 +02:00
parent 8dca3edd78
commit 5dfc5add07
5 changed files with 163 additions and 25 deletions

8
config/eww/scripts/vpninfo.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
if ip --brief addr | grep -q "tun" ; then
echo 1
elif ip --brief addr | grep -q "tail" ; then
echo 2
else
echo 3
fi