]>
git.sur5r.net Git - i3/i3status/log
Jiri Pinkava [Tue, 26 Feb 2013 19:16:47 +0000 (20:16 +0100)]
contrib: fix premature insetion of status message into JSON
Pass first 2 lines of JSON unmodified. It contains protocol version
and start of block of blocks of status messages.
Michael Stapelberg [Mon, 25 Feb 2013 23:32:24 +0000 (00:32 +0100)]
wireless: call START_COLOR only once (Thanks XTaran)
Michael Stapelberg [Sat, 23 Feb 2013 17:05:08 +0000 (18:05 +0100)]
battery: initialize colorful_output to false
Michael Stapelberg [Sat, 23 Feb 2013 17:04:52 +0000 (18:04 +0100)]
ipv6: properly handle colors for output_format == xmobar
Raphael Michel [Mon, 31 Dec 2012 17:13:36 +0000 (18:13 +0100)]
Add colorized output for load avg
Julien Lequertier [Sun, 10 Feb 2013 16:59:37 +0000 (17:59 +0100)]
Added option to show battery capacity without decimals
Michael Stapelberg [Sun, 10 Feb 2013 16:21:46 +0000 (17:21 +0100)]
use stdbool instead of (int)1 and (int)0 directly
Michael Stapelberg [Sun, 10 Feb 2013 16:19:56 +0000 (17:19 +0100)]
s/\<timezone\>/tz/ in order to not shadow the timezone var from time.h
Emil Mikulic [Sun, 13 Jan 2013 13:18:38 +0000 (00:18 +1100)]
Add tztime module to support multiple different timezones.
Michael Stapelberg [Sun, 10 Feb 2013 14:17:15 +0000 (15:17 +0100)]
README: refer to cr.i3wm.org for patches
Michael Stapelberg [Mon, 4 Feb 2013 20:36:55 +0000 (21:36 +0100)]
Bugfix: output auto detect: properly detect ambiguous situations (Thanks mist)
fixes #940
Michael Stapelberg [Mon, 28 Jan 2013 10:37:23 +0000 (11:37 +0100)]
retab! print_cpu_temperature
Emil Mikulic [Sun, 13 Jan 2013 12:23:43 +0000 (23:23 +1100)]
Make sure colorful_output variable is initialized.
Emil Mikulic [Sun, 13 Jan 2013 13:18:13 +0000 (00:18 +1100)]
src/*.c depends on include/i3status.h
Adrien Schildknecht [Thu, 24 Jan 2013 13:51:33 +0000 (14:51 +0100)]
wifi: properly display ad-hoc networks
No statistics are displayed with ad-hoc networks since none are available.
Gereon Kremer [Sat, 5 Jan 2013 11:47:02 +0000 (12:47 +0100)]
make refreshs align with minutes
Gereon Kremer [Sat, 22 Dec 2012 18:06:53 +0000 (19:06 +0100)]
changing volume color from bad to degraded if muted
Michael Stapelberg [Wed, 5 Dec 2012 16:47:29 +0000 (17:47 +0100)]
make SIGUSR1 do nothing, so that killall -USR1 i3status will force an update
Sending SIGUSR1 will interrupt the nanosleep() and thus force a new
iteration of i3status’s output loop. The signal handler itself is empty.
Based on the question by ttjjss at
http://faq.i3wm.org/question/854/how-to-force-status-bar-update/
Scott Tincman [Wed, 14 Nov 2012 01:29:55 +0000 (20:29 -0500)]
DragonFlyBSD support added
Michael Stapelberg [Sat, 10 Nov 2012 07:46:26 +0000 (08:46 +0100)]
Bugfix: make custom colors configurable for battery (Thanks thomas)
fixes #865
Michael Stapelberg [Wed, 7 Nov 2012 20:14:02 +0000 (21:14 +0100)]
Bugfix: make custom colors configurable for cpu_temperature (Thanks thomas)
fixes #865
Deiz [Wed, 31 Oct 2012 17:27:41 +0000 (13:27 -0400)]
Teen ordinal numbers always use a 'th' suffix.
Michael Stapelberg [Mon, 5 Nov 2012 16:40:51 +0000 (17:40 +0100)]
config: introduce an utf-8 character so that editors are forced to use utf-8
…and if they don’t, the user can fix the editor setup at least.
See also http://bugs.i3wm.org/864
Michael Stapelberg [Mon, 5 Nov 2012 16:36:53 +0000 (17:36 +0100)]
config: remove documentation from the disk field (got there by mistake)
Marcelo Cerri [Thu, 18 Oct 2012 20:55:41 +0000 (17:55 -0300)]
add good, degraded and bad colors per module
This commit adds support for color_good, color_degraded and color_bad
directives per module section in the config file.
Deiz [Wed, 17 Oct 2012 16:29:02 +0000 (12:29 -0400)]
Reduce the season day to 0-9 to properly print ordinal suffixes
Simon Elsbrock [Tue, 16 Oct 2012 20:45:19 +0000 (22:45 +0200)]
bugfix: colorize output even without discharge rate (thanks f8l)
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".
Michael Stapelberg [Tue, 16 Oct 2012 08:52:57 +0000 (10:52 +0200)]
implement max_threshold for linux, too
Jasper Lievisse Adriaanse [Wed, 10 Oct 2012 07:57:32 +0000 (09:57 +0200)]
i3status - More temperature related fixes for OpenBSD, and a general feature
- 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.
Jasper Lievisse Adriaanse [Wed, 10 Oct 2012 07:53:34 +0000 (09:53 +0200)]
i3status - Default to acpitz(4) instead of cpu(4) for OpenBSD temperature readings
The acpitz(4) values are eventually used by the kernel to determine if the machine
is getting too hot.
Jasper Lievisse Adriaanse [Wed, 10 Oct 2012 07:52:27 +0000 (09:52 +0200)]
i3status - Handle down wireless interfaces just like ethernet interfaces (e.g. colors)
Deiz [Mon, 15 Oct 2012 17:56:17 +0000 (13:56 -0400)]
Skip a day in the Discordian calendar when St. Tib's Day has passed
Jasper Lievisse Adriaanse [Mon, 8 Oct 2012 20:15:14 +0000 (22:15 +0200)]
Implement %essid and %signal for wireless on OpenBSD.
Jasper Lievisse Adriaanse [Mon, 8 Oct 2012 20:13:47 +0000 (22:13 +0200)]
Implement %speed for Ethernet on OpenBSD.
Jasper Lievisse Adriaanse [Mon, 8 Oct 2012 11:30:38 +0000 (13:30 +0200)]
Various fixes for the OpenBSD section of the battery backend.
- fix the battery status printing in %status.
- fix remaining time when we're charging.
- use colors to indicate battery status.
- small cleanups.
Michael Stapelberg [Wed, 3 Oct 2012 13:12:49 +0000 (15:12 +0200)]
Bugfix: Move the pbval definition outside the ifdef (Thanks XTaran)
This fixes compilation on !linux
Michael Stapelberg [Wed, 3 Oct 2012 12:13:33 +0000 (14:13 +0200)]
remove debian/, packaging now lives on alioth
Michael Stapelberg [Wed, 3 Oct 2012 11:44:34 +0000 (13:44 +0200)]
include contrib/ in release tarballs
Michael Stapelberg [Wed, 3 Oct 2012 11:42:01 +0000 (13:42 +0200)]
update changelog and manpage for 2.6
Michael Stapelberg [Fri, 28 Sep 2012 22:08:56 +0000 (00:08 +0200)]
Save the DNS lookup for K.root-servers.net (Thanks barfoos)
This avoids running into a timeout when there is no connectivity on
i3status startup.
Simon Elsbrock [Wed, 5 Sep 2012 16:39:48 +0000 (18:39 +0200)]
print_battery.c: do END_COLOR only if START_COLOR was used
Simon Elsbrock [Wed, 5 Sep 2012 16:39:47 +0000 (18:39 +0200)]
turn volume into red if muted
fixes #743
Simon Elsbrock [Wed, 5 Sep 2012 16:39:46 +0000 (18:39 +0200)]
modify START_COLOR macro variable naming
Rename val to _val to prevent shadowing warnings due to its common
naming.
Michael Stapelberg [Fri, 31 Aug 2012 12:16:58 +0000 (14:16 +0200)]
introduce percentages for all values, document them
gereon [Thu, 30 Aug 2012 17:32:33 +0000 (19:32 +0200)]
adding percentage format string for disk info module
explicit cast to double, changed format string to percentage
Piotr Domagalski [Tue, 28 Aug 2012 20:07:33 +0000 (22:07 +0200)]
Eat unnecessary space from the battery format str.
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.
Simon Elsbrock [Thu, 23 Aug 2012 14:42:38 +0000 (16:42 +0200)]
add additional battery threshold type "percentage"
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.
Philipp Schaefer [Mon, 30 Jul 2012 13:40:56 +0000 (15:40 +0200)]
use correct units for battery calculation
Michael Stapelberg [Sun, 12 Aug 2012 23:35:07 +0000 (01:35 +0200)]
Bugfix: non-i3bar formats always used color_bad (Thanks hongy19)
fixes #772
Valentin Haenel [Sun, 12 Aug 2012 15:57:48 +0000 (17:57 +0200)]
contrib: python version of the wrapper
Michael Stapelberg [Sat, 4 Aug 2012 19:31:06 +0000 (21:31 +0200)]
Import measure-net-speed bash scripts to contrib/
Michael Stapelberg [Thu, 12 Jul 2012 06:16:40 +0000 (08:16 +0200)]
Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)
Fixes #752
Michael Stapelberg [Wed, 11 Jul 2012 17:11:29 +0000 (19:11 +0200)]
small style fix in src/print_battery_info.c (move comment)
Marcel Hellwig [Tue, 10 Jul 2012 09:45:45 +0000 (11:45 +0200)]
Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in uevent
Lars Kumbier [Tue, 10 Jul 2012 13:26:08 +0000 (15:26 +0200)]
colorful ipv6 status message
Michael Stapelberg [Tue, 10 Jul 2012 18:35:53 +0000 (20:35 +0200)]
README: fix trailing whitespace, add libcap2-bin, more unicode
Lars Kumbier [Tue, 10 Jul 2012 13:10:10 +0000 (15:10 +0200)]
Some information on building i3status from source
Michael Stapelberg [Mon, 9 Jul 2012 13:13:46 +0000 (15:13 +0200)]
clarify the unit of the power consumption and reformat that paragraph
Marcel Hellwig [Sun, 8 Jul 2012 19:29:17 +0000 (21:29 +0200)]
Added new feature - consumption - to documentation
Marcel Hellwig [Thu, 5 Jul 2012 16:19:26 +0000 (18:19 +0200)]
Added consumption to battery info
Marcel Hellwig [Sun, 8 Jul 2012 19:47:42 +0000 (21:47 +0200)]
Added condition, for red color, when battery-time is low, namely battery is discharging
Mateusz Poszwa [Thu, 28 Jun 2012 09:22:00 +0000 (11:22 +0200)]
Avoid division by zero when calculating CPU usage.
Mateusz Loskot [Sun, 10 Jun 2012 23:32:30 +0000 (00:32 +0100)]
Moved translation of wireless status code to text from multiple places into single BATT_STATUS_NAME macro. It simplifies customisation of the hard-wired status text.
Michael Stapelberg [Sun, 10 Jun 2012 17:42:53 +0000 (19:42 +0200)]
add a small perl example wrapper script for i3status’s JSON output
Michael Stapelberg [Fri, 25 May 2012 07:57:03 +0000 (09:57 +0200)]
rename threshold to low_threshold and document it properly
Simon Elsbrock [Tue, 22 May 2012 21:14:59 +0000 (23:14 +0200)]
colorize battery output if remaining time below threshold
Michael Stapelberg [Tue, 15 May 2012 10:30:23 +0000 (12:30 +0200)]
battery info: output errors in JSON in every case
This hopefully fixes http://bugs.i3wm.org/707
Michael Stapelberg [Fri, 11 May 2012 20:38:10 +0000 (22:38 +0200)]
update changelog
Michael Stapelberg [Wed, 9 May 2012 16:56:57 +0000 (18:56 +0200)]
Error handling: Never output null as full_text (JSON), prefix messages with i3status (Thanks Artemis)
The former made i3bar crash, the latter is helpful for debugging.
Michael Stapelberg [Wed, 9 May 2012 16:39:59 +0000 (18:39 +0200)]
Remove cpu_temperature from the default config
It contradicts our philosophy and doesn’t work on many systems, so don’t use it
in the default config.
Michael Stapelberg [Wed, 9 May 2012 16:39:41 +0000 (18:39 +0200)]
Improve error message when the cpu temperature cannot be read
Michael Stapelberg [Mon, 7 May 2012 06:27:28 +0000 (08:27 +0200)]
Use (void) instead of () for functions without args (Thanks fernandotcl)
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.
Jasper Lievisse Adriaanse [Fri, 4 May 2012 07:36:38 +0000 (09:36 +0200)]
- Remove some superfluous #ifdef clutter - If we're compiling on !(Linux or FreeBSD), just emit a '?'.
Jasper Lievisse Adriaanse [Fri, 4 May 2012 07:28:32 +0000 (09:28 +0200)]
Update wrt. recent OpenBSD changes.
Michael Stapelberg [Fri, 4 May 2012 14:05:42 +0000 (16:05 +0200)]
add CHANGELOG to release tarball
Michael Stapelberg [Fri, 4 May 2012 10:31:28 +0000 (12:31 +0200)]
makefile: include yajl-fallback in release tarballs
Ewgenij Starostin [Fri, 4 May 2012 03:34:13 +0000 (05:34 +0200)]
Handle %d with non-default CPU temperature path.
Michael Stapelberg [Wed, 2 May 2012 15:42:51 +0000 (17:42 +0200)]
Fix harmless format string mistake (Thanks loblik)
Michael Stapelberg [Wed, 2 May 2012 15:40:55 +0000 (17:40 +0200)]
add CHANGELOG file
Michael Stapelberg [Wed, 2 May 2012 15:29:28 +0000 (17:29 +0200)]
bump copyright
Michael Stapelberg [Wed, 2 May 2012 15:28:47 +0000 (17:28 +0200)]
bump version number
Michael Stapelberg [Wed, 2 May 2012 15:27:20 +0000 (17:27 +0200)]
clean (generated) i3status.1 in distclean target
Michael Stapelberg [Wed, 2 May 2012 15:26:08 +0000 (17:26 +0200)]
manpage: spelling / sentence fixes
Michael Stapelberg [Wed, 2 May 2012 15:15:15 +0000 (17:15 +0200)]
manpage: remove paragraph about version 2, that’s outdated by now
Michael Stapelberg [Mon, 30 Apr 2012 11:51:18 +0000 (13:51 +0200)]
bugfix: don’t use TOPDIR (Thanks loblik)
Michael Stapelberg [Mon, 30 Apr 2012 11:10:13 +0000 (13:10 +0200)]
document the i3bar output format in the manpage
Jasper Lievisse Adriaanse [Sun, 29 Apr 2012 18:19:59 +0000 (20:19 +0200)]
Implement displaying battery status on OpenBSD.
Jasper Lievisse Adriaanse [Sun, 29 Apr 2012 14:59:39 +0000 (16:59 +0200)]
Implement basic fetching of cpu temperature on OpenBSD.
Jasper Lievisse Adriaanse [Sat, 28 Apr 2012 16:46:24 +0000 (18:46 +0200)]
Allow overriding of a2x in the environment; as it may also be installed as a2x.py
Jasper Lievisse Adriaanse [Fri, 27 Apr 2012 17:09:16 +0000 (19:09 +0200)]
Print the volume on OpenBSD too. Add missing library to Makefile accordingly.
Jasper Lievisse Adriaanse [Fri, 27 Apr 2012 16:48:22 +0000 (18:48 +0200)]
Fix disk usage on OpenBSD.
Jasper Lievisse Adriaanse [Fri, 27 Apr 2012 15:32:46 +0000 (17:32 +0200)]
Fix CPU usage on OpenBSD. Currently only takes the first cpu into account, but works fine otherwise.
Jasper Lievisse Adriaanse [Thu, 26 Apr 2012 17:50:17 +0000 (19:50 +0200)]
Fix include order; fixes build on OpenBSD.
Jasper Lievisse Adriaanse [Thu, 26 Apr 2012 17:49:48 +0000 (19:49 +0200)]
Add some extra paths if we're compiling on OpenBSD.
Thorsten Töpper [Thu, 26 Apr 2012 19:51:15 +0000 (21:51 +0200)]
Added %emptytime to the battery part
Michael Stapelberg [Sun, 8 Apr 2012 12:05:47 +0000 (14:05 +0200)]
add yajl compat code
Michael Stapelberg [Sun, 25 Mar 2012 20:12:30 +0000 (22:12 +0200)]
debian: recommend libcap2-bin only on linux, recommend/enhance i3-wm (i3bar)
Michael Stapelberg [Sun, 25 Mar 2012 20:07:43 +0000 (22:07 +0200)]
use printf instead of write to not mix two ways of outputting data
Otherwise, the separator is not properly interleaved with output.
Michael Stapelberg [Sun, 25 Mar 2012 18:55:55 +0000 (20:55 +0200)]
Properly output JSON with libyajl
Stefan Breunig [Fri, 16 Mar 2012 12:02:29 +0000 (13:02 +0100)]
add "exit 1" to example shell script.
This will make the script exit if i3bar has been killed or has crashed
instead of continuing to run in the background.