aboutsummaryrefslogtreecommitdiff
path: root/i3pystatus
diff options
context:
space:
mode:
Diffstat (limited to 'i3pystatus')
-rw-r--r--i3pystatus/.config/i3pystatus/conf.py28
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",