Commit Graph

305 Commits

Author SHA1 Message Date
Michael Stapelberg
cfaeba4df1 Bugfix: non-i3bar formats always used color_bad (Thanks hongy19)
fixes #772
2012-08-13 01:35:07 +02:00
Valentin Haenel
c69da4c4f5 contrib: python version of the wrapper 2012-08-12 17:59:07 +02:00
Michael Stapelberg
b61f70b05f Import measure-net-speed bash scripts to contrib/ 2012-08-04 21:31:06 +02:00
Michael Stapelberg
dea8703aba Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)
Fixes #752
2012-07-12 08:16:40 +02:00
Michael Stapelberg
141f45e792 small style fix in src/print_battery_info.c (move comment) 2012-07-11 19:11:29 +02:00
Marcel Hellwig
1271ff2aa4 Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in uevent 2012-07-11 19:11:08 +02:00
Lars Kumbier
f5c96008b0 colorful ipv6 status message 2012-07-10 20:37:54 +02:00
Michael Stapelberg
eec9629eb8 README: fix trailing whitespace, add libcap2-bin, more unicode 2012-07-10 20:36:40 +02:00
Lars Kumbier
3fef39d3f5 Some information on building i3status from source 2012-07-10 20:33:28 +02:00
Michael Stapelberg
7efb5f9103 clarify the unit of the power consumption and reformat that paragraph 2012-07-09 15:13:46 +02:00
Marcel Hellwig
0165709fc1 Added new feature - consumption - to documentation 2012-07-09 15:13:08 +02:00
Marcel Hellwig
c01e87b269 Added consumption to battery info 2012-07-09 15:13:05 +02:00
Marcel Hellwig
ccc31f0b80 Added condition, for red color, when battery-time is low, namely battery is discharging 2012-07-09 15:12:43 +02:00
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