aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-21Added missing ampere to watt conversion for last full capacity. (#158)tnnn1-0/+2
Signed-off-by: Tomasz Nitecki <tnnn@tnnn.pl>
2016-08-17default config: remove DHCP, VPNMichael Stapelberg1-10/+0
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-16Print empty string for not mounted disks. (#148)eplanet2-7/+7
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-14Move time and ratio computations out of slurp_battery_info. (#151)tommie1-50/+33
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-14Merge pull request #150 from tommie/incremental_multibattMichael Stapelberg1-44/+37
Move full_design and full_last into struct battery_info
2016-08-14Move full_design and full_last into struct battery_info.Tommie Gannert1-44/+34
This is in preparation for moving the ratio computation code out of slurp_battery_info to support aggregating multiple batteries.
2016-08-14Also capture charge rate in NetBSD.Tommie Gannert1-0/+3
For time estimates when charging.
2016-08-14Merge pull request #149 from tommie/incremental_multibattMichael Stapelberg4-62/+43
Fix some compilation warnings on OpenBSD and NetBSD
2016-08-14Fix warnings about using a char array index on NetBSD.Tommie Gannert1-8/+8
The isspace macro is just a table lookup.
2016-08-14Simplify string comparisons in slurp_battery_info for NetBSD.Tommie Gannert1-47/+11
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-14Make print_disk_info, print_eth_info and print_wireless_info compile on ↵Tommie Gannert3-1/+13
NetBSD without warnings.
2016-08-14Remove warnings about unused variables in slurp_battery_info on OpenBSD.Tommie Gannert1-5/+9
2016-08-14Define IW_ESSID_MAX_SIZE for OpenBSD.Tommie Gannert1-1/+2
Also fixes a signedness warning.
2016-08-13Merge pull request #145 from tommie/incremental_multibattMichael Stapelberg1-75/+93
Move OS-specific code from print_battery_info to a separate function
2016-08-13Deleting VERSION and extracting it from I3STATUS_VERSION instead (#146)eplanet2-3/+2
2016-08-03Move OS-specific code to slurp_battery_info.Tommie Gannert1-63/+72
2016-08-03Introduce a struct battery_info to carry information from data retrieval to ↵Tommie Gannert1-50/+59
the output formatter.
2016-08-04Merge pull request #144 from tommie/incremental_multibattMichael Stapelberg1-82/+25
Refactor color code and computation of seconds_remaining in print_battery_info
2016-08-03Refactor common seconds_remaining code in print_battery_info.Tommie Gannert1-19/+16
2016-08-03Remove an END_COLOR in print_battery_info for OpenBSD.Tommie Gannert1-3/+0
This was probably a bug since it makes no sense to have here.
2016-08-03Move START_COLOR to after OS-specific code.Tommie Gannert1-61/+10
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-03Merge pull request #143 from tommie/incremental_multibattMichael Stapelberg1-40/+14
Remove emptytimebuf and consumptionbuf from print_battery_info
2016-08-03Remove consumptionbuf from print_battery_info.Tommie Gannert1-10/+3
2016-08-03Remove emptytimebuf from print_battery_info.Tommie Gannert1-30/+11
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-03Merge pull request #142 from tommie/incremental_multibattMichael Stapelberg1-97/+60
Remove statusbuf, percentagebuf and remainingbuf from print_battery_info
2016-08-03Remove remainingbuf from print_battery_info.Tommie Gannert1-53/+28
2016-08-01Fixed typo in README.md (#141)eplanet1-1/+1
2016-08-01Remove percentagebuf from print_battery_info.Tommie Gannert1-30/+15
2016-08-01Remove statusbuf from print_battery_info.Tommie Gannert1-14/+17
2016-07-30Merge pull request #139 from Gjum/wb-colored-cpu-usageMichael Stapelberg4-4/+32
Add CPU usage color thresholds
2016-07-27change default cpu_usage thresholds to 90 and 95Gjum2-6/+6
2016-06-30Manpage subsection TzTime: Example config now matches to the context (#134)Bandie Yip Kojote1-1/+2
2016-06-27Added version files for release tarball. Fixes #78 (#132)eplanet3-4/+14
2016-06-15Default configuration paths ordered the same way as i3. Fixes #129 (#130)eplanet2-16/+15
2016-06-15travis: use trusty instead of (failing) llvm repoMichael Stapelberg1-4/+2
2016-05-13Add ifdef to compile wireless_info on Mac (#127)Alexis Hildebrandt1-0/+4
2016-05-08reconnect to PulseAudio if connection is lost (fixes #124) (#125)Watcom1-2/+9
2016-04-13Add CPU usage color thresholdsMark Schreiber4-4/+32
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-30Merge pull request #117 from egroat/masterMichael Stapelberg4-8/+17
Added status_unk to battery_info
2016-03-21Added status_unk to battery_infoeoin4-8/+17
2016-03-21Merge pull request #116 from eplanet/55_path_cputempMichael Stapelberg1-2/+14
Adding glob check to cpu temperature fixes #55
2016-03-20Adding glob check to cpu temperature fixes #55eplanet1-2/+14
2016-03-11Merge pull request #114 from ixjlyons/fix-man-urlMichael Stapelberg1-1/+1
Fixed link to contrib in man page.
2016-03-11Fixed link to contrib in man page.Kenneth Lyons1-1/+1
2016-02-01Merge pull request #105 from cornerman/issue_104Michael Stapelberg3-26/+79
add separator and separator_block_width as universal module options
2016-01-31add separator and separator_block_width as universal module optionsjohannes karoff3-26/+79
fixes #104
2016-01-25Merge pull request #103 from craftyguy/bat_full_remainingMichael Stapelberg1-1/+1
This removes the 'remaining' time when the battery is full, since the…
2016-01-25This removes the 'remaining' time when the battery is full, since the ↵Clayton Craft1-1/+1
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-22Merge pull request #100 from czarkoff/mail-pythonMichael Stapelberg1-0/+3
check_mail.py: more detailed report on IOError
2016-01-21check_mail.py: more detailed report on IOErrorDmitrij D. Czarkoff1-0/+3
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".