Commit Graph

21 Commits

Author SHA1 Message Date
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