From a1740ae5b2392cce77aa174ee4057e4dfd5a3cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 7 Mar 2019 15:07:21 +0100 Subject: [PATCH] i3status: openvpn, retiolum --- dot/i3.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dot/i3.nix b/dot/i3.nix index d53f687..be1b914 100644 --- a/dot/i3.nix +++ b/dot/i3.nix @@ -72,6 +72,7 @@ rec { } order += "run_watch retiolum" + order += "path_exists openvpn" order += "wireless ${wifi-interface}" order += "battery all" order += "volume master" @@ -79,12 +80,18 @@ rec { order += "tztime local" wireless ${wifi-interface} { - format_up = "online" + format_up = "%essid" format_down = "offline" } run_watch retiolum { pidfile = "/var/run/tinc.retiolum.pid" + format = "%title" + } + + path_exists openvpn { + path = "/proc/sys/net/ipv4/conf/tun0" + format = "%title" } battery all {