Commit Graph

42 Commits

Author SHA1 Message Date
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
4ec02bea7b implement the 'path' option for cpu temperature 2011-01-06 18:22:46 +01:00
Fernando Tarlá Cardoso Lemos
0846c307d0 More sensible lookup order loading the config. 2010-10-24 00:34:53 +02:00
Michael Stapelberg
862297ecad initialize result to NULL to shun compiler warning 2010-09-23 00:20:16 +02:00
Michael Stapelberg
c3f7fc4994 port support for xdg basedir and some makefile fixes from i3 2010-09-23 00:12:48 +02:00
Michael Stapelberg
aedbf650ef Implement --version/-v parameter 2010-09-22 20:15:08 +02:00
Michael Stapelberg
af5fd7b77e Implement displaying the wireless connection speed (Thanks Felicitus)
Based on a patch by Felicitus.
2010-09-22 19:59:48 +02:00
Michael Stapelberg
e37b2076b8 Bugfix: s/CASE_SEC/CASE_SEC_TITLE for volume 2010-07-21 10:57:47 +02:00
Michael Stapelberg
eb46963d4c Implement ALSA volume support 2010-07-20 19:33:41 +02:00
Fernando Tarlá Cardoso Lemos
38337511e9 Support customized colors. 2010-07-04 21:52:43 +02:00
Michael Stapelberg
9db8f7221a Add fernandotcl to copyright notice 2010-06-28 16:53:22 +02:00
Axel Wagner
6298377bd4 Implemented a ddate-module 2010-06-19 12:44:43 +02:00
Christian Dietrich
8edce05764 ipv6: provide format strings for ipv6 up and ipv6 down 2010-04-06 14:54:25 +02:00
Christian Dietrich
8ddab6fe05 ipv6: don't require a title for config option 2010-04-06 02:32:52 +02:00
Michael Stapelberg
18c4b9866d Instead of a relative sleep(1), sleep until the full second
This makes sure you don’t lag behind up to nearly one second in
the worst case, depending on the start time of your i3status.
2010-01-30 00:02:17 +01:00
Michael Stapelberg
f45906a08b Fix function signature / pointer type 2009-10-24 13:39:36 +02:00
Michael Stapelberg
ea236a90da config: first try ~/.i3status.conf, then /etc/i3status.conf 2009-10-24 13:36:07 +02:00
Michael Stapelberg
013fdece8d Change output format to be a config option instead of a compile time define 2009-10-24 13:27:02 +02:00
Michael Stapelberg
e4bd4bd2a3 battery: split up %remaining into %percentage and %remaining (Thanks shatter) 2009-10-16 22:21:05 +02:00
Michael Stapelberg
da8cb9ebfc Implement option to use the last full capacity instead of the design capacity 2009-10-16 20:37:41 +02:00
Michael Stapelberg
b88a55ffa6 Implement format_up/format_down for ethernet 2009-10-16 20:14:40 +02:00
Michael Stapelberg
211899480d Separate license into file LICENSE 2009-10-15 20:44:24 +02:00
Michael Stapelberg
783707906c Implement disk info (%free/%used/%total) 2009-10-11 23:27:26 +02:00
Michael Stapelberg
f947d0a446 Breaks configfiles! Major refactoring of i3status, see below
We finally switched to libconfuse for a configuration file format
which does not require much work for the programmer nor for the user.
Plus, it avoids the Not-Invented-Here syndrome of yet another config
file format.

Furthermore, as a consequence of providing format strings for every
"module" (ipv6, wireless, …), we directly print the output and thus
we needed to drop support for wmii. This allowed us to get rid of
quite some complexity.

Documentation about the new configuration file and options will
follow. This commit is the beginning of what will be i3status v2.0.
2009-10-11 22:14:29 +02:00
Michael Stapelberg
1c0e5ea560 Fix compilation warning 2009-09-01 23:43:24 +02:00
Michael Stapelberg
39b153fdd1 Bugfix: Correctly terminate output if time is specified in order but no time_format given (Thanks XTaran) 2009-08-18 22:09:07 +02:00
Michael Stapelberg
bb52b40c8e Add support for xmobar
Use i3status-xmobar | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]"
You might need to copy the default configuration to ~/.xmobarrc
2009-08-18 21:29:44 +02:00
Michael Stapelberg
34ba9fa908 Correctly handle the order of items 2009-07-21 20:23:08 +02:00
Michael Stapelberg
6fda988f36 Use own files for each function, add get_ipv6_addr.c 2009-07-21 19:07:30 +02:00
Michael Stapelberg
098f7bac23 Bugfix: Correctly handle SIGPIPE to avoid unnecessary zombie processes
Negative return value of printf() is not used when write() returns
a negative value, instead, SIGPIPE is sent.
2009-06-21 14:15:14 +02:00
Michael Stapelberg
747c814453 Bugfix: Exit upon errors from printf in dzen2-mode (usually SIGPIPE because dzen2 exited)
This prevents i3status processes from still running on your system
after you’ve restarted X and dzen2 is long gone.
2009-06-16 18:43:13 +02:00
Michael Stapelberg
15977d8a17 Merge getting thermal zone temperature from atsutane, thanks! 2009-05-22 21:24:28 +02:00
Michael Stapelberg
b7bf1dd722 Implement flags for batteries to use the last full capacity. This breaks configfiles. 2009-05-01 17:53:27 +02:00
Michael Stapelberg
ac39765685 Display 0 instead of negative values for remaining time
This could happen with new batteries which are charged further than
their design capacity is
2009-05-01 15:32:51 +02:00
Michael Stapelberg
086c2ffe2f Enable expandtab, retab! source 2009-04-30 19:47:19 +02:00
Michael Stapelberg
6b0c635ce8 Fix display of IP addresses (display "no IP" correctly) 2009-04-30 19:46:12 +02:00
Michael Stapelberg
1ff4d5a8ce Replace wmiistatus with i3status in files 2009-04-17 13:31:53 +02:00
Michael Stapelberg
1bef3dca5b Rename wmiistatus* to i3status* 2009-04-17 13:17:58 +02:00