]>
git.sur5r.net Git - i3/i3status/log
Ingo Bürk [Wed, 8 Mar 2017 21:25:51 +0000 (22:25 +0100)]
Merge pull request #207 from stapelberg/disk_info
disk: sanitize trailing slashes
Michael Stapelberg [Wed, 8 Mar 2017 18:19:03 +0000 (19:19 +0100)]
disk: sanitize trailing slashes
fixes #200
Ingo Bürk [Tue, 7 Feb 2017 19:47:06 +0000 (20:47 +0100)]
Merge pull request #202 from jasperla/openbsd_fdleak
Plug an fd leak in the OpenBSD-specific code for _first_
Ingo Bürk [Tue, 7 Feb 2017 19:45:36 +0000 (20:45 +0100)]
Merge pull request #201 from jasperla/openbsd_bat_info
Suppress printing :00 seconds of remaining battery lifetime
Jasper Lievisse Adriaanse [Tue, 7 Feb 2017 18:23:53 +0000 (19:23 +0100)]
Plug an fd leak in the OpenBSD-specific code for _first_
Jasper Lievisse Adriaanse [Tue, 7 Feb 2017 18:25:03 +0000 (19:25 +0100)]
Suppress printing :00 seconds of remaining battery lifetime, as apm(4)'s
estimate only has a granularity of minutes.
From tb@openbsd.org
Baptiste Daroussin [Wed, 1 Feb 2017 19:28:01 +0000 (20:28 +0100)]
Fix the deciKelvin to Celsius conversion on FreeBSD (#195)
Change from ceiled value to floored value to be consistent with the
FreeBSD kernel
https://svnweb.freebsd.org/base?view=revision&revision=300421
Jasper Lievisse Adriaanse [Wed, 1 Feb 2017 07:28:38 +0000 (08:28 +0100)]
Make first_eth_interface() work on OpenBSD: (#197)
- use a define for loopback interface device
- use an approach similar to ifconfig(8) for determining device type
Jasper Lievisse Adriaanse [Wed, 1 Feb 2017 07:26:13 +0000 (08:26 +0100)]
Include sys/select.h on OpenBSD (#198)
Fixes a compilation error:
/usr/include/net80211/ieee80211_ioctl.h:339: warning: implicit declaration of function 'howmany'
/usr/include/net80211/ieee80211_ioctl.h:339: error: 'NBBY' undeclared here (not in a function)
/usr/include/net80211/ieee80211_ioctl.h:339: error: variably modified 'nr_rxmcs' at file scope
Michael Stapelberg [Sat, 21 Jan 2017 14:22:05 +0000 (15:22 +0100)]
release v2.11
Michael Stapelberg [Sat, 21 Jan 2017 14:53:09 +0000 (15:53 +0100)]
correctly write I3STATUS_VERSION on release
Michael Stapelberg [Sat, 21 Jan 2017 14:33:39 +0000 (15:33 +0100)]
Makefile: sort objects for deterministic linking order
Patch by Reiner Herrmann
Michael Stapelberg [Sat, 21 Jan 2017 14:31:51 +0000 (15:31 +0100)]
man: fix spelling errors
Michael Stapelberg [Sat, 21 Jan 2017 14:15:01 +0000 (15:15 +0100)]
man: switch link to directly go to github
Moritz Warning [Mon, 2 Jan 2017 15:06:06 +0000 (16:06 +0100)]
Consolidate measure speed script (#188)
* remove old net speed scripts
* add reworked net-speed script
* add space between rate and speed suffix
it is easier to parse visually
* only use intervals greater zero
* add ifaces examples
* catch negativ byte count
happens when the counter resets
Zhong Jianxin [Sun, 25 Dec 2016 22:00:15 +0000 (06:00 +0800)]
Re-license contrib/netspeed to the same as i3status (#189)
Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
Samuel Holland [Tue, 13 Dec 2016 18:32:57 +0000 (12:32 -0600)]
Fix i3status to compile with -fno-common (#185)
This avoids multiple declarations of the same global variable in
different source files.
eplanet [Sat, 19 Nov 2016 14:02:10 +0000 (15:02 +0100)]
Adding documentation for PR #179 (#182)
Michael Stapelberg [Wed, 16 Nov 2016 21:45:59 +0000 (13:45 -0800)]
Merge pull request #179 from mihaicmn/feature-threshold-format
Provide format_above_threshold/format_below_threshold options
Michael Stapelberg [Tue, 15 Nov 2016 17:27:44 +0000 (09:27 -0800)]
Merge pull request #178 from eplanet/ut_cpu_temp
Unit testing some new cases
Mihai Coman [Tue, 15 Nov 2016 11:34:06 +0000 (13:34 +0200)]
Add unit tests for threshold format
Mihai Coman [Mon, 14 Nov 2016 20:10:19 +0000 (22:10 +0200)]
Add 'format_below_threshold' option for 'disk' module
Add 'format_above_threshold' option for 'cpu_temperature' module
Add 'format_above_threshold' option for 'cpu_usage' module
Add 'format_above_threshold' option for 'load' module
eplanet [Mon, 14 Nov 2016 21:33:09 +0000 (21:33 +0000)]
Added test case for run_watch
The valid test case assumes pid 1 exists, which should always
be true on Unix environment.
eplanet [Mon, 14 Nov 2016 21:24:16 +0000 (21:24 +0000)]
Added unit test case for path_exists
eplanet [Mon, 14 Nov 2016 20:58:58 +0000 (20:58 +0000)]
Added unit test case for CPU temperature
eplanet [Mon, 14 Nov 2016 08:13:44 +0000 (09:13 +0100)]
Unit testing in Travis (#170)
Jon Bernard [Sat, 12 Nov 2016 14:39:41 +0000 (09:39 -0500)]
Use blank padding for wireless quality (#166) (#167)
Björn Lindström [Mon, 24 Oct 2016 06:43:04 +0000 (13:43 +0700)]
Setting of custom locale in tztime configuration. (#168)
To be able to show my birth country's time zone in that country's locale, and my local time in my current locale.
Stu Zhao [Sun, 23 Oct 2016 19:20:31 +0000 (15:20 -0400)]
Detect batteries using glob (#163)
Watcom [Wed, 14 Sep 2016 07:26:45 +0000 (04:26 -0300)]
pulse device may be specified by name (#126) (#162)
Michael Stapelberg [Mon, 5 Sep 2016 06:35:24 +0000 (08:35 +0200)]
Bugfix: re-add single quotes around I3STATUS_VERSION
related to https://github.com/i3/i3/issues/2437
Michael Stapelberg [Mon, 29 Aug 2016 07:45:15 +0000 (09:45 +0200)]
Merge pull request #140 from tommie/multibatt
Implement aggregates in print_battery_info
Tommie Gannert [Mon, 1 Aug 2016 17:03:03 +0000 (18:03 +0100)]
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.
Tommie Gannert [Tue, 16 Aug 2016 08:18:05 +0000 (09:18 +0100)]
Match trailing equal sign in slurp_battery_info.
Should make it more resilient to future ambiguities in uevent.
Cihangir Akturk [Mon, 22 Aug 2016 17:23:59 +0000 (20:23 +0300)]
Parse uevent file to detect network device type (#153)
Currently i3status differentiates wireless and wired devices based
on the existence of wireless directory inside the device's sysfs
directory. This approach seems to cause 3g modems to be incorrectly
identified as the first ethernet device.
This commit solves this problem by using DEVTYPE variable from
uevent file.
Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Michael Stapelberg [Mon, 22 Aug 2016 06:48:55 +0000 (08:48 +0200)]
print_wireless_info: fix FTBFS on hurd and kfreebsd
Patch by Axel Beckert.
tnnn [Sun, 21 Aug 2016 20:11:19 +0000 (22:11 +0200)]
Added missing ampere to watt conversion for last full capacity. (#158)
Signed-off-by: Tomasz Nitecki <tnnn@tnnn.pl>
Michael Stapelberg [Wed, 17 Aug 2016 06:16:20 +0000 (08:16 +0200)]
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.
eplanet [Tue, 16 Aug 2016 07:29:08 +0000 (09:29 +0200)]
Print empty string for not mounted disks. (#148)
An empty string becomes the default value for format_not_mounted parameter
for any disk entry. This avoids printing erroneous values when a
filesystem is not mounted.
tommie [Mon, 15 Aug 2016 06:52:20 +0000 (07:52 +0100)]
Move time and ratio computations out of slurp_battery_info. (#151)
This allows OSes that support reporting multiple batteries to simply
sum into full_design,full_last,remaining and let print_battery_info
make computations.
Michael Stapelberg [Sun, 14 Aug 2016 20:01:35 +0000 (13:01 -0700)]
Merge pull request #150 from tommie/incremental_multibatt
Move full_design and full_last into struct battery_info
Tommie Gannert [Mon, 1 Aug 2016 14:25:13 +0000 (15:25 +0100)]
Move full_design and full_last into struct battery_info.
This is in preparation for moving the ratio computation code out of
slurp_battery_info to support aggregating multiple batteries.
Tommie Gannert [Mon, 1 Aug 2016 19:17:50 +0000 (20:17 +0100)]
Also capture charge rate in NetBSD.
For time estimates when charging.
Michael Stapelberg [Sun, 14 Aug 2016 13:29:20 +0000 (06:29 -0700)]
Merge pull request #149 from tommie/incremental_multibatt
Fix some compilation warnings on OpenBSD and NetBSD
Tommie Gannert [Sun, 14 Aug 2016 11:35:52 +0000 (12:35 +0100)]
Fix warnings about using a char array index on NetBSD.
The isspace macro is just a table lookup.
Tommie Gannert [Mon, 1 Aug 2016 19:28:16 +0000 (20:28 +0100)]
Simplify string comparisons in slurp_battery_info for NetBSD.
Doing strlen(a) == strlen(b) && strncmp(a, b, N) seems to have no
benefits compared to just strcmp(a, b). The NetBSD cstring properties
come from the kernel, not the user.
The test for units did a prefix match, but that looked like a bug, the
unit is "Watt hour" in my Virtual box.
Tommie Gannert [Mon, 1 Aug 2016 13:34:39 +0000 (14:34 +0100)]
Make print_disk_info, print_eth_info and print_wireless_info compile on NetBSD without warnings.
Tommie Gannert [Mon, 1 Aug 2016 10:37:47 +0000 (11:37 +0100)]
Remove warnings about unused variables in slurp_battery_info on OpenBSD.
Tommie Gannert [Mon, 1 Aug 2016 10:29:18 +0000 (11:29 +0100)]
Define IW_ESSID_MAX_SIZE for OpenBSD.
Also fixes a signedness warning.
Michael Stapelberg [Sat, 13 Aug 2016 21:01:48 +0000 (14:01 -0700)]
Merge pull request #145 from tommie/incremental_multibatt
Move OS-specific code from print_battery_info to a separate function
eplanet [Sat, 13 Aug 2016 20:46:31 +0000 (22:46 +0200)]
Deleting VERSION and extracting it from I3STATUS_VERSION instead (#146)
Tommie Gannert [Mon, 1 Aug 2016 00:49:12 +0000 (01:49 +0100)]
Move OS-specific code to slurp_battery_info.
Tommie Gannert [Mon, 1 Aug 2016 00:36:23 +0000 (01:36 +0100)]
Introduce a struct battery_info to carry information from data retrieval to the output formatter.
Michael Stapelberg [Wed, 3 Aug 2016 22:21:37 +0000 (00:21 +0200)]
Merge pull request #144 from tommie/incremental_multibatt
Refactor color code and computation of seconds_remaining in print_battery_info
Tommie Gannert [Mon, 1 Aug 2016 00:27:44 +0000 (01:27 +0100)]
Refactor common seconds_remaining code in print_battery_info.
Tommie Gannert [Mon, 1 Aug 2016 00:19:23 +0000 (01:19 +0100)]
Remove an END_COLOR in print_battery_info for OpenBSD.
This was probably a bug since it makes no sense to have here.
Tommie Gannert [Mon, 1 Aug 2016 00:15:35 +0000 (01:15 +0100)]
Move START_COLOR to after OS-specific code.
This uses the more direct tests of whether percentage_remaining and
seconds_remaining are available or not (rather than looking at
present_rate).
Michael Stapelberg [Wed, 3 Aug 2016 21:14:14 +0000 (23:14 +0200)]
Merge pull request #143 from tommie/incremental_multibatt
Remove emptytimebuf and consumptionbuf from print_battery_info
Tommie Gannert [Mon, 1 Aug 2016 00:07:23 +0000 (01:07 +0100)]
Remove consumptionbuf from print_battery_info.
Tommie Gannert [Mon, 1 Aug 2016 00:00:31 +0000 (01:00 +0100)]
Remove emptytimebuf from print_battery_info.
This changes the behavior for NetBSD: previously this time was not
shown while charging. On Linux it was treated as "full time". This
change makes all OSes behave the same.
OpenBSD and FreeBSD did not support emptytime previously.
Michael Stapelberg [Wed, 3 Aug 2016 16:45:45 +0000 (18:45 +0200)]
Merge pull request #142 from tommie/incremental_multibatt
Remove statusbuf, percentagebuf and remainingbuf from print_battery_info
Tommie Gannert [Sun, 31 Jul 2016 23:51:48 +0000 (00:51 +0100)]
Remove remainingbuf from print_battery_info.
eplanet [Mon, 1 Aug 2016 20:16:50 +0000 (22:16 +0200)]
Fixed typo in README.md (#141)
Tommie Gannert [Sun, 31 Jul 2016 23:33:19 +0000 (00:33 +0100)]
Remove percentagebuf from print_battery_info.
Tommie Gannert [Sun, 31 Jul 2016 23:24:40 +0000 (00:24 +0100)]
Remove statusbuf from print_battery_info.
Michael Stapelberg [Sat, 30 Jul 2016 17:23:20 +0000 (19:23 +0200)]
Merge pull request #139 from Gjum/wb-colored-cpu-usage
Add CPU usage color thresholds
Gjum [Wed, 27 Jul 2016 17:57:50 +0000 (19:57 +0200)]
change default cpu_usage thresholds to 90 and 95
Bandie Yip Kojote [Thu, 30 Jun 2016 07:52:35 +0000 (07:52 +0000)]
Manpage subsection TzTime: Example config now matches to the context (#134)
eplanet [Mon, 27 Jun 2016 06:49:51 +0000 (08:49 +0200)]
Added version files for release tarball. Fixes #78 (#132)
eplanet [Wed, 15 Jun 2016 21:13:40 +0000 (23:13 +0200)]
Default configuration paths ordered the same way as i3. Fixes #129 (#130)
Michael Stapelberg [Wed, 15 Jun 2016 19:41:27 +0000 (21:41 +0200)]
travis: use trusty instead of (failing) llvm repo
Alexis Hildebrandt [Fri, 13 May 2016 07:50:09 +0000 (09:50 +0200)]
Add ifdef to compile wireless_info on Mac (#127)
Watcom [Sat, 7 May 2016 22:19:30 +0000 (19:19 -0300)]
reconnect to PulseAudio if connection is lost (fixes #124) (#125)
Mark Schreiber [Wed, 13 Apr 2016 16:07:12 +0000 (09:07 -0700)]
Add CPU usage color thresholds
CPU usage had previously not supported the color option. Add support
for a "degraded" state above which the degraded color is used, and a
higher "bad" state above which the "bad" color is used. One possible
use for these might be indicating whether one or all cores are
saturated.
Unlike the color settings for other, these are set high enough to be
disabled by default. This is done because i3status determines CPU
usage over only the last display interval, which means that, a user
with a low refresh rate might see frequent, potentially-annoying color
changes.
Michael Stapelberg [Wed, 30 Mar 2016 06:53:55 +0000 (08:53 +0200)]
Merge pull request #117 from egroat/master
Added status_unk to battery_info
eoin [Mon, 21 Mar 2016 22:41:22 +0000 (22:41 +0000)]
Added status_unk to battery_info
Michael Stapelberg [Mon, 21 Mar 2016 19:19:14 +0000 (12:19 -0700)]
Merge pull request #116 from eplanet/55_path_cputemp
Adding glob check to cpu temperature fixes #55
eplanet [Sun, 20 Mar 2016 10:47:56 +0000 (11:47 +0100)]
Adding glob check to cpu temperature fixes #55
Michael Stapelberg [Sat, 12 Mar 2016 03:10:45 +0000 (19:10 -0800)]
Merge pull request #114 from ixjlyons/fix-man-url
Fixed link to contrib in man page.
Kenneth Lyons [Fri, 11 Mar 2016 22:26:54 +0000 (14:26 -0800)]
Fixed link to contrib in man page.
Michael Stapelberg [Mon, 1 Feb 2016 07:53:27 +0000 (08:53 +0100)]
Merge pull request #105 from cornerman/issue_104
add separator and separator_block_width as universal module options
johannes karoff [Sun, 31 Jan 2016 18:16:42 +0000 (19:16 +0100)]
add separator and separator_block_width as universal module options
fixes #104
Michael Stapelberg [Mon, 25 Jan 2016 08:53:59 +0000 (00:53 -0800)]
Merge pull request #103 from craftyguy/bat_full_remaining
This removes the 'remaining' time when the battery is full, since the…
Clayton Craft [Mon, 25 Jan 2016 06:39:53 +0000 (22:39 -0800)]
This removes the 'remaining' time when the battery is full, since the remaining time is always 00:00:00. When the battery is discharging, the remaining time will show up again if the user has set their format correctly.
Michael Stapelberg [Fri, 22 Jan 2016 08:39:55 +0000 (00:39 -0800)]
Merge pull request #100 from czarkoff/mail-python
check_mail.py: more detailed report on IOError
Dmitrij D. Czarkoff [Thu, 21 Jan 2016 09:36:30 +0000 (10:36 +0100)]
check_mail.py: more detailed report on IOError
When user doesn't have permissions to access some file, he is better served by
exact error message python recieved then by statement "not a mailbox".
Michael Stapelberg [Tue, 12 Jan 2016 21:22:37 +0000 (13:22 -0800)]
Merge pull request #96 from bebehei/symbols-battery
give more descriptive symbols to battery format
Michael Stapelberg [Tue, 12 Jan 2016 19:57:04 +0000 (11:57 -0800)]
Merge pull request #95 from Watcom/nanosleep
revert back to using nanosleep
Benedikt Heine [Tue, 12 Jan 2016 14:07:33 +0000 (15:07 +0100)]
give more descriptive symbols to battery format
Watcom Hecht [Tue, 12 Jan 2016 13:35:02 +0000 (11:35 -0200)]
revert back to using nanosleep
Fixes #93
Michael Stapelberg [Tue, 12 Jan 2016 08:49:59 +0000 (09:49 +0100)]
Bugfix: check that format_not_mounted is not NULL before using it
This issue was introduced with commit
75a83574 .
fixes #92
Michael Stapelberg [Mon, 11 Jan 2016 09:04:18 +0000 (01:04 -0800)]
Merge pull request #94 from rpls/master
Forgotten wakeup call from USR1 handler
Richard Petri [Mon, 11 Jan 2016 08:58:44 +0000 (09:58 +0100)]
Forgotten wakeup call from USR1 handler
Fixes #93
Michael Stapelberg [Fri, 1 Jan 2016 18:49:04 +0000 (19:49 +0100)]
release v2.10
Michael Stapelberg [Sun, 27 Dec 2015 10:17:07 +0000 (11:17 +0100)]
Merge pull request #88 from auscompgeek/swaybar
format detection: recognise swaybar
David [Sun, 27 Dec 2015 04:59:32 +0000 (15:59 +1100)]
format detection: recognise swaybar
Michael Stapelberg [Wed, 23 Dec 2015 10:21:34 +0000 (11:21 +0100)]
Merge pull request #86 from remijouannet/master
update README.md with libnl-genl-3-dev
Rémi Jouannet [Wed, 23 Dec 2015 10:13:54 +0000 (11:13 +0100)]
update README.md with libnl-genl-3-dev
Michael Stapelberg [Sat, 5 Dec 2015 19:00:27 +0000 (20:00 +0100)]
Merge pull request #72 from ixjlyons/pango-setting
Implement a pango option
Kenneth Lyons [Mon, 5 Oct 2015 08:10:01 +0000 (01:10 -0700)]
Added support for Pango markup.