aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/barvpnstatus
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/barvpnstatus')
-rwxr-xr-xdotfiles/.local/bin/barvpnstatus9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/barvpnstatus b/dotfiles/.local/bin/barvpnstatus
new file mode 100755
index 0000000..1af57c4
--- /dev/null
+++ b/dotfiles/.local/bin/barvpnstatus
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -f "$HOME/.cache/openvpnpid" ]; then
+ printf "🔐 vpn"
+ exit
+fi
+
+printf ""
+