Mateusz Poszwa
|
859a7690a6
|
Avoid division by zero when calculating CPU usage.
|
2012-06-28 12:05:01 +02:00 |
|
Mateusz Loskot
|
10ed9efff4
|
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.
|
2012-06-11 12:00:24 +02:00 |
|
Michael Stapelberg
|
2e3490141d
|
add a small perl example wrapper script for i3status’s JSON output
|
2012-06-10 19:42:53 +02:00 |
|
Michael Stapelberg
|
850f6720b5
|
rename threshold to low_threshold and document it properly
|
2012-05-25 09:57:03 +02:00 |
|
Simon Elsbrock
|
7c02c10b72
|
colorize battery output if remaining time below threshold
|
2012-05-25 09:53:49 +02:00 |
|
Michael Stapelberg
|
7a77472a81
|
battery info: output errors in JSON in every case
This hopefully fixes http://bugs.i3wm.org/707
|
2012-05-15 12:30:23 +02:00 |
|
Michael Stapelberg
|
1dfb3128b0
|
update changelog
|
2012-05-11 22:38:10 +02:00 |
|
Michael Stapelberg
|
296eb5e706
|
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.
|
2012-05-09 18:56:57 +02:00 |
|
Michael Stapelberg
|
88b157cc8a
|
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.
|
2012-05-09 18:39:59 +02:00 |
|
Michael Stapelberg
|
4ef47541b9
|
Improve error message when the cpu temperature cannot be read
|
2012-05-09 18:39:41 +02:00 |
|
Michael Stapelberg
|
4ddd115af8
|
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.
|
2012-05-07 08:28:04 +02:00 |
|
Jasper Lievisse Adriaanse
|
6b447f7f1b
|
- Remove some superfluous #ifdef clutter - If we're compiling on !(Linux or FreeBSD), just emit a '?'.
|
2012-05-04 16:10:19 +02:00 |
|
Jasper Lievisse Adriaanse
|
4d719ff81f
|
Update wrt. recent OpenBSD changes.
|
2012-05-04 16:07:43 +02:00 |
|
Michael Stapelberg
|
dae6575392
|
add CHANGELOG to release tarball
|
2012-05-04 16:05:50 +02:00 |
|
Michael Stapelberg
|
a25eb4f5a6
|
makefile: include yajl-fallback in release tarballs
|
2012-05-04 12:31:28 +02:00 |
|
Ewgenij Starostin
|
b5f89c83cc
|
Handle %d with non-default CPU temperature path.
|
2012-05-04 12:29:02 +02:00 |
|
Michael Stapelberg
|
7dc10f4205
|
Fix harmless format string mistake (Thanks loblik)
|
2012-05-02 17:42:51 +02:00 |
|
Michael Stapelberg
|
911ba1db7b
|
add CHANGELOG file
|
2012-05-02 17:40:55 +02:00 |
|
Michael Stapelberg
|
47e2bc273d
|
bump copyright
|
2012-05-02 17:29:28 +02:00 |
|
Michael Stapelberg
|
f06dbce702
|
bump version number
|
2012-05-02 17:28:47 +02:00 |
|
Michael Stapelberg
|
e918566516
|
clean (generated) i3status.1 in distclean target
|
2012-05-02 17:27:20 +02:00 |
|
Michael Stapelberg
|
192c38466d
|
manpage: spelling / sentence fixes
|
2012-05-02 17:26:08 +02:00 |
|
Michael Stapelberg
|
e6cd45fe0a
|
manpage: remove paragraph about version 2, that’s outdated by now
|
2012-05-02 17:15:15 +02:00 |
|
Michael Stapelberg
|
86e86adcca
|
bugfix: don’t use TOPDIR (Thanks loblik)
|
2012-04-30 13:51:18 +02:00 |
|
Michael Stapelberg
|
727d9f9f01
|
document the i3bar output format in the manpage
|
2012-04-30 13:10:13 +02:00 |
|
Jasper Lievisse Adriaanse
|
2847f83402
|
Implement displaying battery status on OpenBSD.
|
2012-04-30 13:00:49 +02:00 |
|
Jasper Lievisse Adriaanse
|
1c3fb04fb9
|
Implement basic fetching of cpu temperature on OpenBSD.
|
2012-04-30 13:00:46 +02:00 |
|
Jasper Lievisse Adriaanse
|
a6cd207741
|
Allow overriding of a2x in the environment; as it may also be installed as a2x.py
|
2012-04-29 11:14:15 +02:00 |
|
Jasper Lievisse Adriaanse
|
aabac78fd0
|
Print the volume on OpenBSD too. Add missing library to Makefile accordingly.
|
2012-04-29 11:13:29 +02:00 |
|
Jasper Lievisse Adriaanse
|
688d300646
|
Fix disk usage on OpenBSD.
|
2012-04-29 11:13:14 +02:00 |
|
Jasper Lievisse Adriaanse
|
75a741484e
|
Fix CPU usage on OpenBSD. Currently only takes the first cpu into account, but works fine otherwise.
|
2012-04-29 11:13:06 +02:00 |
|
Jasper Lievisse Adriaanse
|
6eac8bee58
|
Fix include order; fixes build on OpenBSD.
|
2012-04-28 10:08:37 +02:00 |
|
Jasper Lievisse Adriaanse
|
af32603373
|
Add some extra paths if we're compiling on OpenBSD.
|
2012-04-28 10:08:30 +02:00 |
|
Thorsten Töpper
|
d4dbf2690e
|
Added %emptytime to the battery part
|
2012-04-26 21:59:51 +02:00 |
|
Michael Stapelberg
|
1b3aa40485
|
add yajl compat code
|
2012-04-08 14:05:47 +02:00 |
|
Michael Stapelberg
|
9d7b69652c
|
debian: recommend libcap2-bin only on linux, recommend/enhance i3-wm (i3bar)
|
2012-03-25 22:12:30 +02:00 |
|
Michael Stapelberg
|
0686906b89
|
use printf instead of write to not mix two ways of outputting data
Otherwise, the separator is not properly interleaved with output.
|
2012-03-25 22:07:43 +02:00 |
|
Michael Stapelberg
|
12b1bfa9b8
|
Properly output JSON with libyajl
|
2012-03-25 22:05:00 +02:00 |
|
Stefan Breunig
|
afb0525235
|
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.
|
2012-03-17 23:26:20 +01:00 |
|
Michael Stapelberg
|
3b9730364a
|
Fix indentation in i3status.conf
|
2012-03-11 15:37:13 +01:00 |
|
Michael Stapelberg
|
188e5873be
|
Fix configuration paths in error message
|
2012-03-11 14:47:58 +01:00 |
|
Michael Stapelberg
|
b35753cd5c
|
add a section to the manpage explaining why we don’t want RAM usage etc.
|
2012-02-24 17:31:08 +01:00 |
|
Michael Stapelberg
|
d5b4c8e368
|
Implement the i3bar JSON protocol
This hardcodes all the JSON parts. Strings are not properly escaped currently.
The best/easiest way to fix this is by actually using libyajl.
|
2012-02-16 23:30:54 +00:00 |
|
Michael Stapelberg
|
7149f6f78e
|
use the actual default format string for run_watch
|
2012-01-02 14:29:00 +01:00 |
|
theo
|
ed473cdd9b
|
Add a "format" example for run_watch
Signed-off-by: theo <theocrite@theocrite.org>
|
2012-01-02 14:28:22 +01:00 |
|
Michael Stapelberg
|
392fbb51ab
|
bump version in i3status.man
|
2011-12-27 00:31:50 +01:00 |
|
Michael Stapelberg
|
75094acd07
|
bump version
|
2011-12-27 00:25:12 +01:00 |
|
Michael Stapelberg
|
1ac98c36e3
|
update debian/changelog
|
2011-12-27 00:20:55 +01:00 |
|
Baptiste Daroussin
|
be61907ad5
|
FreeBSD: fix disk usage print
|
2011-12-09 23:39:01 +00:00 |
|
Baptiste Daroussin
|
7148eb5279
|
FreeBSD: switch from acpi to coretemp to get the cpu temperature
|
2011-12-09 23:38:59 +00:00 |
|