1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

i3status: openvpn, retiolum

This commit is contained in:
Kierán Meinhardt
2019-03-07 15:07:21 +01:00
parent ef78126443
commit a1740ae5b2

View File

@@ -72,6 +72,7 @@ rec {
} }
order += "run_watch retiolum" order += "run_watch retiolum"
order += "path_exists openvpn"
order += "wireless ${wifi-interface}" order += "wireless ${wifi-interface}"
order += "battery all" order += "battery all"
order += "volume master" order += "volume master"
@@ -79,12 +80,18 @@ rec {
order += "tztime local" order += "tztime local"
wireless ${wifi-interface} { wireless ${wifi-interface} {
format_up = "online" format_up = "%essid"
format_down = "offline" format_down = "offline"
} }
run_watch retiolum { run_watch retiolum {
pidfile = "/var/run/tinc.retiolum.pid" pidfile = "/var/run/tinc.retiolum.pid"
format = "%title"
}
path_exists openvpn {
path = "/proc/sys/net/ipv4/conf/tun0"
format = "%title"
} }
battery all { battery all {