diff options
author | johannst <johannes.stoelp@gmail.com> | 2019-10-13 13:21:18 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2019-10-13 13:21:18 +0200 |
commit | 1b782f6174e25d208ebde43866d7b20b118e4205 (patch) | |
tree | 3f80e8e5796075fb1aa769e842ccd5547339d89e | |
parent | 95bc20fa96e9538cf771245ba798a8ef89e3b8d6 (diff) | |
download | dotfiles-1b782f6174e25d208ebde43866d7b20b118e4205.tar.gz dotfiles-1b782f6174e25d208ebde43866d7b20b118e4205.zip |
i3blocks add vpn status
-rw-r--r-- | i3blocks.conf | 5 |
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 |