From 08ee3bdf2d4d8bd8efaf716d514a08d8a1014497 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 17 Aug 2016 08:16:20 +0200 Subject: [PATCH] default config: remove DHCP, VPN MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- i3status.conf | 10 ---------- 1 file changed, 10 deletions(-) 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" } -- 2.39.5