Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-24 | Setting of custom locale in tztime configuration. (#168) | Björn Lindström | |
To be able to show my birth country's time zone in that country's locale, and my local time in my current locale. | |||
2016-10-23 | Detect batteries using glob (#163) | Stu Zhao | |
2016-09-14 | pulse device may be specified by name (#126) (#162) | Watcom | |
2016-08-28 | Implement aggregates for batteries. | Tommie Gannert | |
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-22 | Match trailing equal sign in slurp_battery_info. | Tommie Gannert | |
Should make it more resilient to future ambiguities in uevent. | |||
2016-08-22 | Parse uevent file to detect network device type (#153) | Cihangir Akturk | |
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> | |||
2016-08-22 | print_wireless_info: fix FTBFS on hurd and kfreebsd | Michael Stapelberg | |
Patch by Axel Beckert. | |||
2016-08-21 | Added missing ampere to watt conversion for last full capacity. (#158) | tnnn | |
Signed-off-by: Tomasz Nitecki <tnnn@tnnn.pl> | |||
2016-08-16 | Print empty string for not mounted disks. (#148) | eplanet | |
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. | |||
2016-08-14 | Move time and ratio computations out of slurp_battery_info. (#151) | tommie | |
This allows OSes that support reporting multiple batteries to simply sum into full_design,full_last,remaining and let print_battery_info make computations. | |||
2016-08-14 | Move full_design and full_last into struct battery_info. | Tommie Gannert | |
This is in preparation for moving the ratio computation code out of slurp_battery_info to support aggregating multiple batteries. | |||
2016-08-14 | Also capture charge rate in NetBSD. | Tommie Gannert | |
For time estimates when charging. | |||
2016-08-14 | Fix warnings about using a char array index on NetBSD. | Tommie Gannert | |
The isspace macro is just a table lookup. | |||
2016-08-14 | Simplify string comparisons in slurp_battery_info for NetBSD. | Tommie Gannert | |
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. | |||
2016-08-14 | Make print_disk_info, print_eth_info and print_wireless_info compile on ↵ | Tommie Gannert | |
NetBSD without warnings. | |||
2016-08-14 | Remove warnings about unused variables in slurp_battery_info on OpenBSD. | Tommie Gannert | |
2016-08-14 | Define IW_ESSID_MAX_SIZE for OpenBSD. | Tommie Gannert | |
Also fixes a signedness warning. | |||
2016-08-03 | Move OS-specific code to slurp_battery_info. | Tommie Gannert | |
2016-08-03 | Introduce a struct battery_info to carry information from data retrieval to ↵ | Tommie Gannert | |
the output formatter. | |||
2016-08-03 | Refactor common seconds_remaining code in print_battery_info. | Tommie Gannert | |
2016-08-03 | Remove an END_COLOR in print_battery_info for OpenBSD. | Tommie Gannert | |
This was probably a bug since it makes no sense to have here. | |||
2016-08-03 | Move START_COLOR to after OS-specific code. | Tommie Gannert | |
This uses the more direct tests of whether percentage_remaining and seconds_remaining are available or not (rather than looking at present_rate). | |||
2016-08-03 | Remove consumptionbuf from print_battery_info. | Tommie Gannert | |
2016-08-03 | Remove emptytimebuf from print_battery_info. | Tommie Gannert | |
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. | |||
2016-08-03 | Remove remainingbuf from print_battery_info. | Tommie Gannert | |
2016-08-01 | Remove percentagebuf from print_battery_info. | Tommie Gannert | |
2016-08-01 | Remove statusbuf from print_battery_info. | Tommie Gannert | |
2016-07-30 | Merge pull request #139 from Gjum/wb-colored-cpu-usage | Michael Stapelberg | |
Add CPU usage color thresholds | |||
2016-05-13 | Add ifdef to compile wireless_info on Mac (#127) | Alexis Hildebrandt | |
2016-05-08 | reconnect to PulseAudio if connection is lost (fixes #124) (#125) | Watcom | |
2016-04-13 | Add CPU usage color thresholds | Mark Schreiber | |
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. | |||
2016-03-21 | Added status_unk to battery_info | eoin | |
2016-03-20 | Adding glob check to cpu temperature fixes #55 | eplanet | |
2016-01-25 | This removes the 'remaining' time when the battery is full, since the ↵ | Clayton Craft | |
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. | |||
2016-01-12 | revert back to using nanosleep | Watcom Hecht | |
Fixes #93 | |||
2016-01-12 | Bugfix: check that format_not_mounted is not NULL before using it | Michael Stapelberg | |
This issue was introduced with commit 75a83574. fixes #92 | |||
2015-12-27 | format detection: recognise swaybar | David | |
2015-12-04 | Added support for Pango markup. | Kenneth Lyons | |
2015-11-24 | fix compilation on FreeBSD | Michael Stapelberg | |
fixes #83 | |||
2015-11-16 | first_eth_interface: ignore MAC addresses, look for IPv4/IPv6 addresses | Michael Stapelberg | |
2015-10-12 | Correctly calculate Wireless link quality | Stefan Bader | |
Wireless quality was stuck at 100% due to a signed with unsigned integer division. | |||
2015-10-12 | Volume percentage should be obtained by float division and rounded to int. | Jakub Klinkovský | |
Fixes #75 | |||
2015-10-09 | Merge pull request #71 from bsdjhb/freebsd_wifi_buildfix | Michael Stapelberg | |
Fix build under FreeBSD after recent changes for Linux. | |||
2015-10-08 | Fix build under FreeBSD after recent changes for Linux. | John Baldwin | |
2015-10-08 | Properly detect the battery charging status under FreeBSD. | John Baldwin | |
The hw.acpi.battery.state sysctl returns a bitmask of flags as defined in <dev/acpica/acpiio.h>. Use constants from this header to examine the state and check for the charging flag to determine if the battery is charging. | |||
2015-10-04 | Added support for lemonbar | Brendan Van Hook | |
2015-09-25 | document code origins | Michael Stapelberg | |
fixes #65 | |||
2015-09-25 | Fix comparison between signed/unsigned warning for real | Michael Stapelberg | |
2015-09-25 | use proper unsigned type for ESSID length | Michael Stapelberg | |
2015-09-25 | use nlmsg_data instead of the too-new genlmsg_hdr | Michael Stapelberg | |