diff options
author | NeodarZ <neodarz@neodarz.net> | 2018-01-31 20:34:15 +0100 |
---|---|---|
committer | NeodarZ <neodarz@neodarz.net> | 2018-01-31 20:34:15 +0100 |
commit | c9a91dc767288c4f311ad1e8ed5116f4bbce38a3 (patch) | |
tree | 3efa27ec7d9de7238248a50fc9b0b90453799c02 /i3pystatus | |
parent | c1b32a4b97daa7e592c87e04e775b00ab33c8ae2 (diff) | |
download | dotfiles_ascii-c9a91dc767288c4f311ad1e8ed5116f4bbce38a3.tar.xz dotfiles_ascii-c9a91dc767288c4f311ad1e8ed5116f4bbce38a3.zip |
Add vpn conf
Diffstat (limited to 'i3pystatus')
-rw-r--r-- | i3pystatus/.config/i3pystatus/conf.py | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/i3pystatus/.config/i3pystatus/conf.py b/i3pystatus/.config/i3pystatus/conf.py index adcb5ea..7ba2249 100644 --- a/i3pystatus/.config/i3pystatus/conf.py +++ b/i3pystatus/.config/i3pystatus/conf.py @@ -132,14 +132,40 @@ status.register("text", text="|", hints = {"separator": False, "separator_block_width": 0},) -status.register("net_speed", +status.register("openvpn", + format="{status}", + vpn_name="vpn-pro", + status_up="vpro", + status_down="", + status_command="bash -c 'systemctl show vpn-pro.service | grep ActiveState=active'", + hints = {"markup": "pango", "separator": False, "separator_block_width": 0},) + +status.register("text", + text="|", hints = {"separator": False, "separator_block_width": 0},) +status.register("openvpn", + format="{status}", + vpn_name="vpn-perso", + status_up="vperso", + status_down="", + status_command="bash -c 'systemctl show vpn-perso.service | grep ActiveState=active'", + hints = {"markup": "pango", "separator": False, "separator_block_width": 0},) + status.register("text", text="|", hints = {"separator": False, "separator_block_width": 0},) +#status.register("netspeed", +#status.register("net_speed", +# hints = {"separator": False, "separator_block_width": 0},) + +#status.register("text", +# text="|", +# hints = {"separator": False, "separator_block_width": 0},) + + #status.register("external_ip", # color="#fff", # color_down="#fff", |