Commit Graph

456 Commits

Author SHA1 Message Date
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
Michael Stapelberg
fc3fac640f man/i3status.man: Fix indention (Thanks sur5r) 2011-11-26 18:50:44 +00:00
Michael Stapelberg
3471ff39f8 battery: implement "path" option for batteries with non-standard paths 2011-11-26 18:26:38 +00:00
Michael Stapelberg
40012ed7c6 manpage: remove the obsolete i3bar -d invocation 2011-10-30 13:28:36 +00:00
Michael Stapelberg
631e460f8a make libconfuse handle config files case insensitive 2011-10-18 22:40:14 +01:00
Michael Stapelberg
692f0124a3 Don’t use a default setting for 'order'
This will make i3status depend on a useful configuration file (so
/etc/i3status.conf has to be installed) to actually output anything.

However, it fixes a very common error: people edit their i3status.conf and
don’t get that the first order directive has to use =, not +=. Since order is
now empty by default, you can use += everywhere.
2011-10-10 20:46:55 +01:00
Michael Stapelberg
9429d93a7e Fix the default value for the load, also the manpage description (Thanks XTaran) 2011-10-03 18:33:36 +01:00
Michael Stapelberg
8166314ffa doc fix: the load supports %1min, not %10min in the format (Thanks zendeavor) 2011-09-05 15:08:45 +02:00
Connor Lane Smith
19bcc6456f Makefile: fix PREFIX usage 2011-09-01 12:47:17 +02:00
Mateusz Poszwa
42e61c4f6e fix parentheses in cc1457c4f0 2011-08-29 16:06:40 +02:00
Michael Stapelberg
8317709b95 Makefile: actually use PREFIX (Thanks cls) 2011-08-27 15:24:03 +02:00
Michael Stapelberg
7870fdae86 initialize variables to fix compiler warning 2011-08-26 00:33:56 +02:00
Connor Lane Smith
cc1457c4f0 make modules more resilient to failure 2011-08-25 23:27:10 +02:00
Michael Stapelberg
67ad80f005 s/while [ 1 ]/while :/ (Thanks cls) 2011-08-25 22:55:01 +02:00
Michael Stapelberg
dbe8c661f3 manpage: add example for using external scripts/programs with i3status 2011-08-25 22:52:50 +02:00
Michael Stapelberg
efaacee726 debian/i3status.postinst: Check if setcap is there, print info message if not (Thanks Sander) 2011-07-29 14:05:31 +02:00
Michael Stapelberg
319664ce43 only compile print_cpu_temperature if THERMAL_ZONE is available
Fixes FTBFS on hurd-i386
2011-07-24 23:17:34 +02:00
Baptiste Daroussin
d87a735be5 Add simple volume support on FreeBSD 2011-07-24 02:12:23 +02:00
Baptiste Daroussin
f288fd2e4f Add support for cpu usage on FreeBSD 2011-07-24 02:12:22 +02:00
Baptiste Daroussin
342f942f15 Support wifi on FreeBSD 2011-07-24 02:12:20 +02:00
Michael Stapelberg
3607cbede0 close appropriate bug in changelog 2011-07-23 18:29:03 +02:00
Axel Beckert
61896fa667 Fix missing build-dependency on kfreebsd 2011-07-23 18:24:30 +02:00
Michael Stapelberg
f1a33824e8 bump copyright 2011-07-21 23:11:13 +02:00
Michael Stapelberg
53bf8bcb01 Bugfix: Use gettimeofday instead of time. It provides higher precision.
Otherwise, we sometimes have a wrong date/time.
2011-07-21 22:46:35 +02:00
Axel Beckert
5e276db583 Fix FTBFS on kFreeBSD 2011-07-21 22:02:34 +02:00
Michael Stapelberg
0e103d57c0 debian: update changelog 2011-07-19 15:35:34 +02:00
Michael Stapelberg
235121c9ce debian: update copyright 2011-07-19 15:31:58 +02:00
Michael Stapelberg
602b6fcef0 update manpage, bump version, update copyrights, sync authors list 2011-07-19 15:28:28 +02:00
Michael Stapelberg
d800ad8e92 debian: use [linux-any] instead of hardcoded architectures list 2011-07-19 15:21:30 +02:00
Michael Stapelberg
2e621680c4 slurp(): null-terminate buffer (Thanks mist) 2011-07-13 19:17:24 +02:00
Michael Stapelberg
7728c35401 correctly auto-detect the output format with zsh (Thanks mist) 2011-07-13 17:21:35 +02:00
Michael Stapelberg
986536e28f debian: update packaging, add changelog entries 2011-07-13 16:37:43 +02:00
Michael Stapelberg
18c4513b2a manpage: fix config paths 2011-07-13 16:21:15 +02:00
Michael Stapelberg
6dbf9bfb64 makefile: respect and use LIBS/CPPFLAGS, use $(MAKE), fix i3status.c target (Thanks Kacper) 2011-07-13 16:18:39 +02:00
Michael Stapelberg
e924ce2d19 fix memory leak 2011-07-13 16:09:30 +02:00
Michael Stapelberg
7ab9167536 magic: try to auto-detect output_format by default (dzen2/i3bar/xmobar) 2011-07-13 03:27:57 +02:00
Michael Stapelberg
a46984d06c i3status.conf: fix indention 2011-07-13 03:22:07 +02:00