aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-02-22Add colorized output for load avgRaphael Michel1-1/+8
2013-02-14Added option to show battery capacity without decimalsJulien Lequertier1-2/+6
2013-02-10use stdbool instead of (int)1 and (int)0 directlyMichael Stapelberg1-2/+3
2013-02-10s/\<timezone\>/tz/ in order to not shadow the timezone var from time.hMichael Stapelberg1-9/+9
2013-02-10Add tztime module to support multiple different timezones.Emil Mikulic2-7/+37
2013-02-04Bugfix: output auto detect: properly detect ambiguous situations (Thanks mist)Michael Stapelberg1-1/+1
fixes #940
2013-01-28retab! print_cpu_temperatureMichael Stapelberg1-38/+38
2013-01-28Make sure colorful_output variable is initialized.Emil Mikulic1-3/+7
2013-01-24wifi: properly display ad-hoc networksAdrien Schildknecht1-0/+9
No statistics are displayed with ad-hoc networks since none are available.
2013-01-05changing volume color from bad to degraded if mutedGereon Kremer1-1/+1
2012-11-15DragonFlyBSD support addedScott Tincman8-14/+34
2012-11-06Teen ordinal numbers always use a 'th' suffix.Deiz1-0/+5
2012-10-19Reduce the season day to 0-9 to properly print ordinal suffixesDeiz1-1/+1
2012-10-16bugfix: colorize output even without discharge rate (thanks f8l)Simon Elsbrock1-3/+16
On some systems, the discharge rate may be missing, although the battery is still working. This leads to an edge case on Linux systems in which the output may not be colorized although a threshold was defined. This commit fixes the behavior by colorizing output if threshold_type is set to "percentage". Since we cannot calculate remaining time without discharge rate, output is still uncolorized in case of threshold_type set to "time".
2012-10-16implement max_threshold for linux, tooMichael Stapelberg1-1/+8
2012-10-16i3status - More temperature related fixes for OpenBSD, and a general featureJasper Lievisse Adriaanse1-9/+17
- Temperature sensors can now set a 'max_threshold' value to color the output red if exceeded. - Allow for arbitrary temperature sensors nodes to be selected with 'path' on OpenBSD.
2012-10-16i3status - Default to acpitz(4) instead of cpu(4) for OpenBSD temperature ↵Jasper Lievisse Adriaanse1-4/+5
readings The acpitz(4) values are eventually used by the kernel to determine if the machine is getting too hot.
2012-10-16i3status - Handle down wireless interfaces just like ethernet interfaces ↵Jasper Lievisse Adriaanse1-3/+12
(e.g. colors)
2012-10-16Skip a day in the Discordian calendar when St. Tib's Day has passedDeiz1-8/+10
2012-10-10Implement %essid and %signal for wireless on OpenBSD.Jasper Lievisse Adriaanse1-0/+75
2012-10-10Implement %speed for Ethernet on OpenBSD.Jasper Lievisse Adriaanse1-0/+36
2012-10-10Various fixes for the OpenBSD section of the battery backend.Jasper Lievisse Adriaanse1-8/+23
- fix the battery status printing in %status. - fix remaining time when we're charging. - use colors to indicate battery status. - small cleanups.
2012-10-03Bugfix: Move the pbval definition outside the ifdef (Thanks XTaran)Michael Stapelberg1-1/+1
This fixes compilation on !linux
2012-09-29Save the DNS lookup for K.root-servers.net (Thanks barfoos)Michael Stapelberg1-4/+7
This avoids running into a timeout when there is no connectivity on i3status startup.
2012-09-05print_battery.c: do END_COLOR only if START_COLOR was usedSimon Elsbrock1-1/+5
2012-09-05turn volume into red if mutedSimon Elsbrock1-2/+7
fixes #743
2012-08-31introduce percentages for all values, document themMichael Stapelberg1-4/+19
2012-08-31adding percentage format string for disk info modulegereon1-0/+5
explicit cast to double, changed format string to percentage
2012-08-31Eat unnecessary space from the battery format str.Piotr Domagalski1-0/+14
If the battery is not discharging it may be not possible to give information on remaining time or consumption. The resulting strings (%remaining, %consumption, %emptytime) are empty then. But because they are in the format string, the output string contains unnecessary spaces in this case. This commit makes i3status strip these spaces.
2012-08-28add additional battery threshold type "percentage"Simon Elsbrock1-5/+12
The battery threshold can now be configured as type "time" or "percentage", but defaults to "time" to prevent unexpected behavior. Also, low_threshold was set to a more reasonable default of 30.
2012-08-13use correct units for battery calculationPhilipp Schaefer1-8/+23
2012-07-12Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)Michael Stapelberg1-1/+1
Fixes #752
2012-07-11small style fix in src/print_battery_info.c (move comment)Michael Stapelberg1-1/+2
2012-07-11Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in ueventMarcel Hellwig1-2/+9
2012-07-10colorful ipv6 status messageLars Kumbier1-1/+4
2012-07-09Added consumption to battery infoMarcel Hellwig1-0/+8
2012-07-09Added condition, for red color, when battery-time is low, namely battery is ↵Marcel Hellwig1-1/+1
discharging
2012-06-28Avoid division by zero when calculating CPU usage.Mateusz Poszwa1-2/+2
2012-06-11Moved translation of wireless status code to text from multiple places into ↵Mateusz Loskot1-10/+6
single BATT_STATUS_NAME macro. It simplifies customisation of the hard-wired status text.
2012-05-25colorize battery output if remaining time below thresholdSimon Elsbrock1-1/+6
2012-05-15battery info: output errors in JSON in every caseMichael Stapelberg1-4/+6
This hopefully fixes http://bugs.i3wm.org/707
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg6-10/+13
i3status (Thanks Artemis) The former made i3bar crash, the latter is helpful for debugging.
2012-05-09Improve error message when the cpu temperature cannot be readMichael Stapelberg1-1/+1
2012-05-07Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg3-4/+4
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors.
2012-05-04- Remove some superfluous #ifdef clutter - If we're compiling on !(Linux or ↵Jasper Lievisse Adriaanse1-6/+4
FreeBSD), just emit a '?'.
2012-05-04Handle %d with non-default CPU temperature path.Ewgenij Starostin1-3/+4
2012-05-02Fix harmless format string mistake (Thanks loblik)Michael Stapelberg1-2/+2
2012-04-30Implement displaying battery status on OpenBSD.Jasper Lievisse Adriaanse1-0/+58
2012-04-30Implement basic fetching of cpu temperature on OpenBSD.Jasper Lievisse Adriaanse1-1/+45
2012-04-29Print the volume on OpenBSD too. Add missing library to Makefile accordingly.Jasper Lievisse Adriaanse1-1/+7