Mats
596f2264f4
disk: Distinguish between IEC, SI and custom prefixes
...
* 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-12-10 21:18:14 +01:00
Kinware AB
717484184f
Add support for path_exists directive.
2013-11-22 15:52:27 +01:00
Michael Stapelberg
98595f9f28
document format_muted in the manpage
2013-11-18 22:32:48 +01:00
Gereon Kremer
4bd0ba88c8
Added different format string for volume in case it is muted.
...
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-18 22:31:42 +01:00
Sebastian Ullrich
09330976e5
default config: show %avail disk space instead of %free
...
The former property is generally more relevant to end users
2013-11-16 10:11:25 +01:00
Michael Stapelberg
14b43bdec2
format detection: simplify code, handle "sh" processes in the hierarchy
...
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-09 14:37:05 +01:00
Michael Stapelberg
31509b0d56
fix slurp(), it needs to read size-1 for the trailing NUL
2013-11-09 14:37:04 +01:00
Michael Stapelberg
ebfafc5dac
print_cpu_temperature: fix memory leak (Thanks kuba)
2013-10-24 19:19:21 +02:00
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