Commit Graph

23 Commits

Author SHA1 Message Date
gokcehan
478064800b
default config: move disk info out of network info
By default, disk info is found in a strange place in between ipv6 and wireless information. This commit puts it in between other performance meters. Settings in the file are also now sorted according to their places in the order.
2019-02-03 16:38:17 +03:00
Olivier Gayot
03c8908ec6 Stop requiring CAP_NET_ADMIN
Since the following commit in the Linux kernel tree

  0fdc100bdc4b ethtool: allow non-netadmin to query settings

it is no longer necessary to have the CAP_NET_ADMIN capability to query
a device speed using ioctl(..., SIOCETHTOOL) in conjonction with the
ETHTOOL_GSET ethtool command.

The mentioned commit landed first in the 2.6.37 version of the Kernel.
This version is no longer maintained nowdays.

Since it is not necessary anymore, it is strongly prefered from a
security standpoint to drop the CAP_NET_ADMIN capability from the
binary.

Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-06-25 11:53:05 +02:00
Benedikt Heine
cba8f55938 Simplify the memory thresholds 2018-05-04 18:46:59 +02:00
Tommie Gannert
dc072f9f53 Implement aggregates for batteries.
Using title number all, this enables aggregates. Note that FreeBSD and
OpenBSD previously only reported aggregates, so this is bringing Linux
and NetBSD that functionality.

Changes the default battery reporting to the aggregate since most
users probably don't care about individual batteries. For single-battery
systems there should be no change.

Fixes one obvious memory leak in NetBSD.
2016-08-28 14:29:08 +01:00
Michael Stapelberg
08ee3bdf2d 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.
2016-08-17 08:16:20 +02:00
Michael Stapelberg
b219f47f39 support the special interface name _first_ for ethernet/wireless
Since we have deterministic device names in Linux, these strings are a
much better default in the i3status config than "eth0" and "wlan0" (what
we used before).
2014-12-07 15:17:31 +01:00
Sebastian Ullrich
09330976e5 default config: show %avail disk space instead of %free
The former property is generally more relevant to end users
2013-11-16 10:11:25 +01:00
Emil Mikulic
2ebe1f3726 Add tztime module to support multiple different timezones. 2013-02-10 17:18:32 +01:00
Michael Stapelberg
beaaf4c742 config: introduce an utf-8 character so that editors are forced to use utf-8
…and if they don’t, the user can fix the editor setup at least.

See also http://bugs.i3wm.org/864
2012-11-05 17:40:51 +01:00
Michael Stapelberg
4bf84391d8 config: remove documentation from the disk field (got there by mistake) 2012-11-05 17:36:53 +01:00
Michael Stapelberg
d6b8a4efc1 introduce percentages for all values, document them 2012-08-31 14:16:58 +02:00
Michael Stapelberg
88b157cc8a Remove cpu_temperature from the default config
It contradicts our philosophy and doesn’t work on many systems, so don’t use it
in the default config.
2012-05-09 18:39:59 +02:00
Michael Stapelberg
3b9730364a Fix indentation in i3status.conf 2012-03-11 15:37:13 +01:00
Michael Stapelberg
692f0124a3 Don’t use a default setting for 'order'
This will make i3status depend on a useful configuration file (so
/etc/i3status.conf has to be installed) to actually output anything.

However, it fixes a very common error: people edit their i3status.conf and
don’t get that the first order directive has to use =, not +=. Since order is
now empty by default, you can use += everywhere.
2011-10-10 20:46:55 +01:00
Michael Stapelberg
a46984d06c i3status.conf: fix indention 2011-07-13 03:22:07 +02:00
Michael Stapelberg
9307ff9d13 The load values represent 1,5,15 min, not 5,10,15 min (Thanks Chris) 2009-12-13 13:59:59 +01:00
Michael Stapelberg
e4bd4bd2a3 battery: split up %remaining into %percentage and %remaining (Thanks shatter) 2009-10-16 22:21:05 +02:00
Michael Stapelberg
b88a55ffa6 Implement format_up/format_down for ethernet 2009-10-16 20:14:40 +02:00
Michael Stapelberg
717b1e3446 Update default config 2009-10-15 20:42:46 +02:00
Michael Stapelberg
4cf0073b5c Update i3status.conf 2009-07-23 20:50:35 +02:00
Michael Stapelberg
15977d8a17 Merge getting thermal zone temperature from atsutane, thanks! 2009-05-22 21:24:28 +02:00
Michael Stapelberg
b7bf1dd722 Implement flags for batteries to use the last full capacity. This breaks configfiles. 2009-05-01 17:53:27 +02:00
Michael Stapelberg
1bef3dca5b Rename wmiistatus* to i3status* 2009-04-17 13:17:58 +02:00