summaryrefslogtreecommitdiff
path: root/.config/polybar/mullvad_status.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/mullvad_status.sh')
-rwxr-xr-x.config/polybar/mullvad_status.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/.config/polybar/mullvad_status.sh b/.config/polybar/mullvad_status.sh
deleted file mode 100755
index fbca326c..00000000
--- a/.config/polybar/mullvad_status.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-set -euo pipefail
-IFS=$'\n\t'
-
-MULLVAD_STATUS=$(mullvad status)
-
-if echo $MULLVAD_STATUS | grep -q 'Connected'; then
- echo "%{u#75d85a}VPN %{T5}✅%{T-}"
- elif echo $MULLVAD_STATUS | grep -q 'Connecting'; then
- echo "VPN ..."
- else
- echo "%{u#f90000}VPN %{T5}🚫%{T-}"
-fi