aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2012-04-29Fix disk usage on OpenBSD.Jasper Lievisse Adriaanse1-2/+2
2012-04-29Fix CPU usage on OpenBSD. Currently only takes the first cpu into account, ↵Jasper Lievisse Adriaanse1-2/+17
but works fine otherwise.
2012-04-28Fix include order; fixes build on OpenBSD.Jasper Lievisse Adriaanse2-5/+8
2012-04-08add yajl compat codeMichael Stapelberg12-0/+15
2012-03-25Properly output JSON with libyajlMichael Stapelberg14-193/+167
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg14-2/+90
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-12-09FreeBSD: fix disk usage printBaptiste Daroussin1-0/+13
2011-11-26battery: implement "path" option for batteries with non-standard pathsMichael Stapelberg1-2/+2
2011-08-29fix parentheses in cc1457c4f0f4cccb8bec326dd0bb13082ac806e6Mateusz Poszwa1-2/+2
2011-08-26initialize variables to fix compiler warningMichael Stapelberg1-1/+1
2011-08-25make modules more resilient to failureConnor Lane Smith3-18/+22
2011-07-24only compile print_cpu_temperature if THERMAL_ZONE is availableMichael Stapelberg1-0/+2
Fixes FTBFS on hurd-i386
2011-07-24Add simple volume support on FreeBSDBaptiste Daroussin1-0/+30
2011-07-24Add support for cpu usage on FreeBSDBaptiste Daroussin1-0/+25
2011-07-24Support wifi on FreeBSDBaptiste Daroussin1-0/+76
2011-07-21Fix FTBFS on kFreeBSDAxel Beckert2-4/+8
2011-07-13slurp(): null-terminate buffer (Thanks mist)Michael Stapelberg1-1/+3
2011-07-13correctly auto-detect the output format with zsh (Thanks mist)Michael Stapelberg1-0/+13
2011-07-13fix memory leakMichael Stapelberg1-0/+3
2011-07-13magic: try to auto-detect output_format by default (dzen2/i3bar/xmobar)Michael Stapelberg1-0/+142
2011-05-06Fix trailing whitespaces, document cpu_usage in manpageMichael Stapelberg1-1/+1
2011-05-06Add print_cpu_usagePeter Bui1-0/+50
2011-04-22Also use the correct time for the ddate moduleMichael Stapelberg1-9/+4
2011-04-21get time at the beginning of the loopMichael Stapelberg1-6/+1
2011-01-06implement the 'path' option for cpu temperatureMichael Stapelberg1-5/+8
2011-01-03Cache the result of the DNS query also if there is no IPv6 connectivity ↵Michael Stapelberg1-1/+6
(Thanks dothebart)
2010-11-28Use kill(pid, 0) to check if the process is aliveMichael Stapelberg2-35/+12
2010-11-03battery: use POWER_NOW if CURRENT_NOW is not availableMichael Stapelberg1-0/+2
CURRENT_NOW was deprecated for some battery types in recent linux kernels (2.6.36)
2010-09-22Implement displaying the wireless connection speed (Thanks Felicitus)Michael Stapelberg1-0/+14
Based on a patch by Felicitus.
2010-07-21Bugfix: Correctly check for interface up/down-status (Thanks docsteel)Michael Stapelberg1-3/+6
2010-07-20Implement ALSA volume supportMichael Stapelberg1-0/+154
2010-07-15print_ddate(): Correctly seperate the St. Tibs String from the restAxel Wagner1-3/+3