From: Michael Stapelberg Date: Wed, 17 Aug 2016 06:16:20 +0000 (+0200) Subject: default config: remove DHCP, VPN X-Git-Tag: 2.11~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=08ee3bdf2d4d8bd8efaf716d514a08d8a1014497;p=i3%2Fi3status default config: remove DHCP, VPN VPN was removed because it pointed to vpnc, which hasn’t been updated since 2008 and is long obsolete in favor of openconnect. Since different people use different VPN solutions, though (and other modules configured by default do actually work regardless of the system), let’s remove this and have people who need it configure it explicitly. DHCP was removed because modern systems often don’t use dhclient anymore (but rather systemd-networkd’s DHCP client, which can also be used via NetworkManager these days) and because it fails our philosophy test: it’s not something which you would look at every now and then if i3status didn’t expose it. --- diff --git a/i3status.conf b/i3status.conf index 7052e23..2d71a54 100644 --- a/i3status.conf +++ b/i3status.conf @@ -13,8 +13,6 @@ general { order += "ipv6" order += "disk /" -order += "run_watch DHCP" -order += "run_watch VPN" order += "wireless _first_" order += "ethernet _first_" order += "battery 0" @@ -36,14 +34,6 @@ battery 0 { format = "%status %percentage %remaining" } -run_watch DHCP { - pidfile = "/var/run/dhclient*.pid" -} - -run_watch VPN { - pidfile = "/var/run/vpnc/pid" -} - tztime local { format = "%Y-%m-%d %H:%M:%S" }