summaryrefslogtreecommitdiff
path: root/i3blocks.conf
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-10-13 13:21:18 +0200
committerjohannst <johannes.stoelp@gmail.com>2019-10-13 13:21:18 +0200
commit1b782f6174e25d208ebde43866d7b20b118e4205 (patch)
tree3f80e8e5796075fb1aa769e842ccd5547339d89e /i3blocks.conf
parent95bc20fa96e9538cf771245ba798a8ef89e3b8d6 (diff)
downloaddotfiles-1b782f6174e25d208ebde43866d7b20b118e4205.tar.gz
dotfiles-1b782f6174e25d208ebde43866d7b20b118e4205.zip
i3blocks add vpn status
Diffstat (limited to 'i3blocks.conf')
-rw-r--r--i3blocks.conf5
1 files changed, 5 insertions, 0 deletions
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