Commit Graph

891 Commits

Author SHA1 Message Date
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
Michael Stapelberg
8bcb4e5c17 Bugfix: call setlocale() to make %c work in the date format (Thanks loz) 2011-06-30 19:55:04 +02:00
Michael Stapelberg
abd1c58d7e manpage: give a better example of the color_good option (Thanks Kamila) 2011-05-08 20:43:35 +02:00
Michael Stapelberg
0b299f740d Fix trailing whitespaces, document cpu_usage in manpage 2011-05-06 13:17:26 +02:00
Peter Bui
8b18e8e33c Add print_cpu_usage 2011-05-06 13:13:11 +02:00
Michael Stapelberg
0a13d30465 Also use the correct time for the ddate module 2011-04-22 01:10:40 +02:00
Michael Stapelberg
28934ef858 Bugfix: use localtime_r so that later calls in print_battery_info don’t overwrite the time 2011-04-22 01:06:53 +02:00
Michael Stapelberg
4fa8a4e0ab get time at the beginning of the loop 2011-04-21 20:50:14 +02:00
Michael Stapelberg
686b8798aa document the path option in sample config 2011-01-06 18:23:56 +01:00
Michael Stapelberg
4ec02bea7b implement the 'path' option for cpu temperature 2011-01-06 18:22:46 +01:00
Felix Kaiser
7507a3d03c manpage: fix sample config (ethernet module) 2011-01-06 18:13:39 +01:00
Michael Stapelberg
39feebea4d Cache the result of the DNS query also if there is no IPv6 connectivity (Thanks dothebart) 2011-01-03 15:00:42 +01:00
Michael Stapelberg
cf09102433 Use kill(pid, 0) to check if the process is alive 2010-11-28 16:45:34 +01:00
Michael Stapelberg
75670ba64a battery: use POWER_NOW if CURRENT_NOW is not available
CURRENT_NOW was deprecated for some battery types in recent linux kernels
(2.6.36)
2010-11-03 14:08:22 +01:00
Fernando Tarlá Cardoso Lemos
0846c307d0 More sensible lookup order loading the config. 2010-10-24 00:34:53 +02:00
Michael Stapelberg
29f382c0c2 manpage: fix example for xmobar/dzen2 2010-09-23 00:50:52 +02:00