Commit Graph

112 Commits

Author SHA1 Message Date
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
1d122f32e6 Add debian changelog entry to keep updates from overwriting local versions 2009-10-02 21:18:00 +02:00
Michael Stapelberg
745fb02f2f Fix linking (Thanks Atsutane) 2009-10-01 22:13:30 +02:00
Michael Stapelberg
c4a3d64b38 Bugfix: close the filehandle when done 2009-10-01 18:18:46 +02:00
Michael Stapelberg
b2292e770e Implement getting the wireless ESSID
This adds a dependency for libiw
2009-10-01 17:43:32 +02:00
Michael Stapelberg
cdb450376e Bugfix: Don’t show colors in wireless info if colors are disabled (Thanks shatter) 2009-09-26 13:26:13 +02:00
Michael Stapelberg
89ad3dbaa2 Don’t display an error message if getaddrinfo() fails for getting the IPv6 addr (Thanks Atsutane) 2009-09-26 13:24:36 +02:00
Atsutane
48e033598b Small improvement regarding readability if one hasn't an IPv6 address. 2009-09-11 23:05:54 +02:00
Michael Stapelberg
112512c546 Initialize order array with -1 to avoid printing duplicate lines (Thanks XTaran) 2009-09-01 23:43:31 +02:00
Michael Stapelberg
1c0e5ea560 Fix compilation warning 2009-09-01 23:43:24 +02:00
Axel Beckert
e565e313f7 Support for (Debian) GNU/kFreeBSD 2009-09-01 12:39:49 +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
56312001de debian: fix issues with initscript 2009-08-18 00:11:04 +02:00
Michael Stapelberg
2b12cfe4e2 Update debian changelog 2009-08-02 19:59:57 +02:00
Michael Stapelberg
f8be2d1b81 Return "no battery" instead of dying if a battery wasn’t found (Thanks Mirko) 2009-07-25 21:32:38 +02:00
Michael Stapelberg
94911d4cc3 Don’t perror("connect") when there most likely is no IPv6 connectivity 2009-07-25 21:23:39 +02:00
Michael Stapelberg
4cf0073b5c Update i3status.conf 2009-07-23 20:50:35 +02:00
Michael Stapelberg
dd88448709 Bugfix: Use interface instead of eth_interface in get_ip_addr() 2009-07-23 20:47:52 +02:00
Michael Stapelberg
a86361510c Implement battery status and thermal zones for FreeBSD (patch by Baptiste Daroussin) 2009-07-23 18:40:49 +02:00
Michael Stapelberg
3de2907427 Remove unneeded struct 2009-07-22 19:01:57 +02:00
Michael Stapelberg
072cee2808 little fixes for FreeBSD 2009-07-22 18:51:55 +02:00
Michael Stapelberg
329a8994f7 Use the highest order actually used, not MAX_ORDER, for checking whether to flush (Thanks Mirko) 2009-07-22 18:39:41 +02:00
Michael Stapelberg
c9ab465cbb Implement getting the interface speed on FreeBSD, patch by Baptiste Daroussin 2009-07-22 18:36:01 +02:00
Michael Stapelberg
e56213db28 Free the addresses correctly 2009-07-22 18:30:16 +02:00
Michael Stapelberg
4a6deddf7b Obtain IP address in a portable way, patch by Baptiste Daroussin 2009-07-22 18:27:55 +02:00
Michael Stapelberg
bb50e22fd3 Use getloadavg() instead of using /proc, patch by Baptiste Daroussin 2009-07-22 00:09:32 +02:00
Michael Stapelberg
bd3f63428a Hide ugly compilation calls in Makefile 2009-07-21 20:45:05 +02:00
Michael Stapelberg
a1eda7b209 get_ipv6_addr: more documentation, use SOCK_DGRAM, reformat 2009-07-21 20:35:19 +02:00
Michael Stapelberg
230f3167b7 Add modelines and retab! all files 2009-07-21 20:26:53 +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
045c88dfe3 debian: add README.Debian to git 2009-06-22 19:09:49 +02:00
Michael Stapelberg
08c92e9599 debian: use make distclean instead of make clean between builds (Thanks Mirko) 2009-06-22 19:04:28 +02:00
Michael Stapelberg
49f94e9c74 debian: change Priority to extra (makes more sense) 2009-06-21 17:07:19 +02:00
Michael Stapelberg
e1f02099b9 debian: Increase Standards-Version for next upload 2009-06-21 14:52:03 +02:00
Michael Stapelberg
3577560e90 debian: add initscripts/default files 2009-06-21 14:51:32 +02:00
Michael Stapelberg
a3707bae7e debian: revert packaging to produce only one package, but with both binaries 2009-06-21 14:50:57 +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
1dfe4aeff3 debian: correctly build an i3status-common package, split up manpages 2009-06-17 23:55:25 +02:00
Michael Stapelberg
780625a4fa debian: update policy-version to 3.8.2, fix build, re-add initscript 2009-06-17 22:44:17 +02:00
Michael Stapelberg
35936f4b71 makefile: fix linking 2009-06-17 22:13:48 +02:00
Michael Stapelberg
a14045572d makefile: fix dependencies 2009-06-17 22:08:33 +02:00
Michael Stapelberg
e1e3cd4940 makefile: fix release target 2009-06-17 21:49:14 +02:00
Michael Stapelberg
82b429c910 release 1.1 / debian: update changelog 2009-06-17 21:35:49 +02:00
Michael Stapelberg
17619e8c33 debian: build separate packages for dzen2/wmii 2009-06-17 21:33:54 +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
ec0f8ddfda debian: Add ${misc:Depends} 2009-05-09 23:57:17 +02:00