From 1b782f6174e25d208ebde43866d7b20b118e4205 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 13 Oct 2019 13:21:18 +0200 Subject: i3blocks add vpn status --- i3blocks.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i3blocks.conf b/i3blocks.conf index 16f28bf..5e0e77c 100644 --- a/i3blocks.conf +++ b/i3blocks.conf @@ -40,6 +40,11 @@ border_bottom=2 # Network # +[vpn] +command=echo "$(expressvpn status | head -n1 | sed 's/\x1b\[[0-9;]*m//g')" +label=VPN +interval=30 + [eth] command=$HOME/.scripts/eth.sh instance=enp0s25 -- cgit v1.2.3