Commit Graph

376 Commits

Author SHA1 Message Date
Arnaud Degroote
c6e9fc84c6 Add support for cpu temperature on NetBSD (using envsys(4)) 2013-10-07 19:32:50 +02:00
Arnaud Degroote
32551729e8 Allow to print cpu usage on NetBSD 2013-10-07 19:31:01 +02:00
Arnaud Degroote
cf2fb61911 Allow to print eth information on NetBSD 2013-10-07 19:30:51 +02:00
Arnaud Degroote
57730f726f Fix the build on NetBSD 2013-10-07 19:30:32 +02:00
Jan-Erik Rediger
bcc8932c86 Add example path for CPU temperature 2013-07-19 00:19:43 +02:00
Michael Stapelberg
10e9c3a173 manpage: update example for load’s max_threshold 2013-07-09 23:25:49 +02:00
M. Kory Woods
41be50a983 allow load to be a float 2013-07-09 23:22:26 +02:00
Michael Stapelberg
cf417ffeb1 Makefile: use .SILENT and support V=1 for verbose builds 2013-06-18 18:14:38 +02:00
Axel Wagner
86d1b5df7a Bugfix: In term-output, clear line before drawing new one
If we don't do this, the output of i3status will remain on the terminal,
which is really ugly if the statusline becomes shorter after a while
(for example a connection get's lost), because there will be garbage.
2013-06-11 23:50:29 +02:00
Michael Stapelberg
3beb6b4406 signal handler: set flag because directly calling fprintf() is unsafe 2013-05-19 19:58:51 +02:00
Axel Wagner
7a372b0f46 Implement term-output-format 2013-05-19 19:51:01 +02:00
oblique
8445d6a929 print_volume(linux): Open a new mixer every time.
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-19 19:48:07 +02:00
Jonas Cleve
6a84138251 fix #1017: i3status uses generic battery instance 2013-05-04 17:53:20 +02:00
Michael Stapelberg
de8c6cba60 manpage: be more explicit about the path option 2013-05-04 17:50:05 +02:00
Baptiste Daroussin
13ebebeb7a Support colored output for CPU temperature on FreeBSD 2013-03-20 11:16:53 +01:00
Michael Stapelberg
1ec54a2971 man: mention i3bar in the description (Thanks andi) 2013-03-19 19:58:22 +01:00
Michael Stapelberg
f0cd726bf0 print_volume: don’t return, complete the buffer first
Otherwise, i3bar will display “SPEC VIOLATION” because full_text is
missing in the block.
2013-03-19 19:56:44 +01:00
Baptiste Daroussin
8dbadb6d4e Enable colored output for battery on FreeBSD 2013-03-19 19:54:15 +01:00
Baptiste Daroussin
f30ec89b79 Support mixer_idx with OSS
make mixer_idx load the default mixer
2013-03-19 19:53:26 +01:00
Baptiste Daroussin
7f83d0a197 Show degraded colors in case volume is muted with OSS 2013-03-19 18:36:49 +01:00
Christoph Göttschkes
5e0b8812bf Added format_down option for battery if no battery is available. 2013-03-09 11:43:55 +01:00
Jakob Haufe
d62e10c56d Fix FTBFS on Hurd
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-03-02 13:48:43 +01:00
Michael Stapelberg
e39f398cc5 update CHANGELOG 2013-02-27 10:56:28 +01:00
Jiri Pinkava
5c583c418d 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.
2013-02-27 01:20:56 +01:00
Michael Stapelberg
b6c4d4ee46 wireless: call START_COLOR only once (Thanks XTaran) 2013-02-26 00:32:24 +01:00
Michael Stapelberg
4a282a4978 battery: initialize colorful_output to false 2013-02-23 18:05:08 +01:00
Michael Stapelberg
d52b9f82ca ipv6: properly handle colors for output_format == xmobar 2013-02-23 18:04:52 +01:00
Raphael Michel
6279964c6b Add colorized output for load avg 2013-02-22 14:09:58 +01:00
Julien Lequertier
67c2c1a7ea Added option to show battery capacity without decimals 2013-02-14 19:35:15 +01:00
Michael Stapelberg
8c273e54b8 use stdbool instead of (int)1 and (int)0 directly 2013-02-10 17:21:46 +01:00
Michael Stapelberg
78cd0e1e01 s/\<timezone\>/tz/ in order to not shadow the timezone var from time.h 2013-02-10 17:19:56 +01:00
Emil Mikulic
2ebe1f3726 Add tztime module to support multiple different timezones. 2013-02-10 17:18:32 +01:00
Michael Stapelberg
895cbad7a2 README: refer to cr.i3wm.org for patches 2013-02-10 15:17:15 +01:00
Michael Stapelberg
68e447d3f6 Bugfix: output auto detect: properly detect ambiguous situations (Thanks mist)
fixes #940
2013-02-04 21:36:55 +01:00
Michael Stapelberg
a5a43af186 retab! print_cpu_temperature 2013-01-28 11:37:23 +01:00
Emil Mikulic
a87b63c3e9 Make sure colorful_output variable is initialized. 2013-01-28 11:36:23 +01:00
Emil Mikulic
e2541da194 src/*.c depends on include/i3status.h 2013-01-25 11:26:08 +01:00
Adrien Schildknecht
d43664235a wifi: properly display ad-hoc networks
No statistics are displayed with ad-hoc networks since none are available.
2013-01-24 15:22:00 +01:00
Gereon Kremer
11757b8105 make refreshs align with minutes 2013-01-08 22:02:03 +01:00
Gereon Kremer
6147e2b268 changing volume color from bad to degraded if muted 2013-01-05 08:37:20 +01:00
Michael Stapelberg
0a608d4af6 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/
2012-12-05 17:49:54 +01:00
Scott Tincman
0eeded8bc0 DragonFlyBSD support added 2012-11-15 12:31:17 +01:00
Michael Stapelberg
2f20400d7a Bugfix: make custom colors configurable for battery (Thanks thomas)
fixes #865
2012-11-10 08:46:26 +01:00
Michael Stapelberg
264068551f Bugfix: make custom colors configurable for cpu_temperature (Thanks thomas)
fixes #865
2012-11-07 21:14:02 +01:00
Deiz
638156c8b2 Teen ordinal numbers always use a 'th' suffix. 2012-11-06 00:26:47 +01:00
Michael Stapelberg
beaaf4c742 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
2012-11-05 17:40:51 +01:00
Michael Stapelberg
4bf84391d8 config: remove documentation from the disk field (got there by mistake) 2012-11-05 17:36:53 +01:00
Marcelo Cerri
dbf3adc81d 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.
2012-10-24 18:59:46 +02:00
Deiz
e10d38fea0 Reduce the season day to 0-9 to properly print ordinal suffixes 2012-10-19 19:36:53 +02:00
Simon Elsbrock
35f3bcb348 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".
2012-10-16 22:49:22 +02:00