summaryrefslogtreecommitdiff
path: root/sys/dwmblocks-vpn
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dwmblocks-vpn')
-rwxr-xr-xsys/dwmblocks-vpn8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dwmblocks-vpn b/sys/dwmblocks-vpn
new file mode 100755
index 0000000..6a81123
--- /dev/null
+++ b/sys/dwmblocks-vpn
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$(ip link show | rg proton0)" = "" ]
+then
+ echo "no vpn"
+else
+ echo "vpn"
+fi