summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-03-01Typo in function nameMarco Hunsicker
Fixes the typo in print_seperator()
2014-03-01i3status: Allow customization of module separatorMarco Hunsicker
This patch adds the ability to customize the separator that is placed between modules. Specifically this patch: * adds the "separator" general directive * moves the definition of the default separator for the different output formats (excluding color formatting) to src/i3status.c * updates the SEC_CLOSE_MAP macro to disable the separator for the i3bar output format if the separator directive dictates so * changes print_seperator() in src/output.c to take a separator parameter in order to disable the output of the separator if the separator is empty and to use the provided separator otherwise * updates the manpage to explain the new directive
2014-02-26i3status: Bugfix: Reading multiple temperature sensors not possibleMarco Hunsicker
This patch inlines the creation of the thermal zone string in order to force computation on each invocation. This is necessary to be able to read the values of several temperature sensors.
2014-02-08Add hide_seconds optionIakov Davydov
fixes: #1134
2013-12-10disk: Distinguish between IEC, SI and custom prefixesMats
* IEC: Ki, Mi, Gi, Ti (powers of 1024) * SI: k, M, G, T (powers of 1000) * custom: K, M, G, T (powers of 1024)
2013-11-22Add support for path_exists directive.Kinware AB
2013-11-18Added different format string for volume in case it is muted.Gereon Kremer
If the volume is muted, the volume level would simply be displayed as zero and the color changed to color_degraded. This patch lets the user define a custom format string for when the volume is muted. The default value is "♪: 0%" ("♪: %volume" being the usual format).
2013-11-09format detection: simplify code, handle "sh" processes in the hierarchyMichael Stapelberg
i3 starts processes using /bin/sh now, not $SHELL. This increases the likelihood with which we are started by dash, which tends to leave its processes in the hierarchy, e.g.: michael 1524 i3bar --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-s michael 1525 \_ /bin/sh -c i3status michael 1526 \_ i3status This case is now handled correctly — when the parent is “sh”, the parent of sh will be used instead.
2013-11-09fix slurp(), it needs to read size-1 for the trailing NULMichael Stapelberg
2013-10-24print_cpu_temperature: fix memory leak (Thanks kuba)Michael Stapelberg
2013-10-07Add support for cpu temperature on NetBSD (using envsys(4))Arnaud Degroote
2013-10-07Allow to print cpu usage on NetBSDArnaud Degroote
2013-10-07Allow to print eth information on NetBSDArnaud Degroote
2013-07-09allow load to be a floatM. Kory Woods
2013-05-19Implement term-output-formatAxel Wagner
2013-05-19print_volume(linux): Open a new mixer every time.oblique
This fix the following bug: If you switch your sound card on-the-fly, print_volume continued to use the old sound card.
2013-05-04fix #1017: i3status uses generic battery instanceJonas Cleve
2013-03-20Support colored output for CPU temperature on FreeBSDBaptiste Daroussin
2013-03-19print_volume: don’t return, complete the buffer firstMichael Stapelberg
Otherwise, i3bar will display “SPEC VIOLATION” because full_text is missing in the block.
2013-03-19Enable colored output for battery on FreeBSDBaptiste Daroussin
2013-03-19Support mixer_idx with OSSBaptiste Daroussin
make mixer_idx load the default mixer
2013-03-19Show degraded colors in case volume is muted with OSSBaptiste Daroussin
2013-03-09Added format_down option for battery if no battery is available.Christoph Göttschkes
2013-03-02Fix FTBFS on HurdJakob Haufe
On GNU/Hurd, THERMAL_ZONE is undefined. This makes compilation fail as outwalk is declared inside of #ifdef THERMAL_ZONE, but it's used outside of it (by OUTPUT_FULL_TEXT). This moves the declaration outside the #ifdef to allow for successful compilation on Hurd again.
2013-02-26wireless: call START_COLOR only once (Thanks XTaran)Michael Stapelberg
2013-02-23battery: initialize colorful_output to falseMichael Stapelberg
2013-02-23ipv6: properly handle colors for output_format == xmobarMichael Stapelberg
2013-02-22Add colorized output for load avgRaphael Michel
2013-02-14Added option to show battery capacity without decimalsJulien Lequertier
2013-02-10use stdbool instead of (int)1 and (int)0 directlyMichael Stapelberg
2013-02-10s/\<timezone\>/tz/ in order to not shadow the timezone var from time.hMichael Stapelberg
2013-02-10Add tztime module to support multiple different timezones.Emil Mikulic
2013-02-04Bugfix: output auto detect: properly detect ambiguous situations (Thanks mist)Michael Stapelberg
fixes #940
2013-01-28retab! print_cpu_temperatureMichael Stapelberg
2013-01-28Make sure colorful_output variable is initialized.Emil Mikulic
2013-01-24wifi: properly display ad-hoc networksAdrien Schildknecht
No statistics are displayed with ad-hoc networks since none are available.
2013-01-05changing volume color from bad to degraded if mutedGereon Kremer
2012-11-15DragonFlyBSD support addedScott Tincman
2012-11-06Teen ordinal numbers always use a 'th' suffix.Deiz
2012-10-19Reduce the season day to 0-9 to properly print ordinal suffixesDeiz
2012-10-16bugfix: colorize output even without discharge rate (thanks f8l)Simon Elsbrock
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 Stapelberg
2012-10-16i3status - More temperature related fixes for OpenBSD, and a general featureJasper Lievisse Adriaanse
- 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 Adriaanse
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 Adriaanse
(e.g. colors)
2012-10-16Skip a day in the Discordian calendar when St. Tib's Day has passedDeiz
2012-10-10Implement %essid and %signal for wireless on OpenBSD.Jasper Lievisse Adriaanse
2012-10-10Implement %speed for Ethernet on OpenBSD.Jasper Lievisse Adriaanse
2012-10-10Various fixes for the OpenBSD section of the battery backend.Jasper Lievisse Adriaanse
- 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 Stapelberg
This fixes compilation on !linux