aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/polybar/module/vpn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/polybar/module/vpn.nix')
-rw-r--r--modules/desktop/polybar/module/vpn.nix16
1 files changed, 0 insertions, 16 deletions
diff --git a/modules/desktop/polybar/module/vpn.nix b/modules/desktop/polybar/module/vpn.nix
deleted file mode 100644
index 58bb80c..0000000
--- a/modules/desktop/polybar/module/vpn.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-# VPN - Just indicates if VPN is connected with openvpn
-{
- pkgs,
- lib,
- config,
-}:
-with config.scheme.withHashtag;
-{
- type = "custom/script";
- exec-if = "${pkgs.runtimeShell} -c '${lib.getExe' pkgs.iproute2 "ip"} a | ${lib.getExe pkgs.gnugrep} -q tun0'";
- exec = "echo VPN";
- interval = 5;
-
- format = "%{T2}%{F${base03}} %{F-}%{T-} <label>";
- label = "%output%";
-}