Commit Graph

346 Commits

Author SHA1 Message Date
Michael Stapelberg
c166d2e2d3 get_ip_address: return NULL instead of down 2010-01-26 14:25:21 +01:00
Axel Beckert
a820cf4ce0 Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only 2010-01-11 23:07:30 +01:00
Michael Stapelberg
6823fbf055 disk: also round when printing TB (Thanks Merovius) 2010-01-10 11:07:21 +01:00
Michael Stapelberg
ced822f461 ipv6: cache the result of the DNS query only, the socket needs to be re-created every time 2010-01-04 11:16:59 +01:00
Michael Stapelberg
37882cee88 ipv6: reuse the existing socket for further lookups
This reduces network overhead if you do not run a local caching
nameserver.
2010-01-01 22:01:57 +01:00
Michael Stapelberg
998109a653 Remove trailing whitespace 2009-12-20 18:48:01 +01:00
André-Patrick Bubel
a5594ee17f Implemented showing the time when battery is empty 2009-12-20 18:48:01 +01:00
Michael Stapelberg
9307ff9d13 The load values represent 1,5,15 min, not 5,10,15 min (Thanks Chris) 2009-12-13 13:59:59 +01:00
Michael Stapelberg
58e0b05eb9 debian: add missing build-deps 2009-10-27 20:32:27 +01:00
Michael Stapelberg
44b776dd9f Update debian packaging for 2.0 2009-10-27 20:27:29 +01:00
Michael Stapelberg
5e9a2849fc Update manpage for output_format 2009-10-27 20:27:15 +01:00
Michael Stapelberg
9e81fa5654 Update debian/ for single binary 2009-10-24 13:40:13 +02: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
6cf9059664 debian: symlink the manpage of i3status for the i3status-xmobar binary 2009-10-24 00:54:46 +02:00
Michael Stapelberg
5a3cc23896 debian: Update standards version 2009-10-24 00:46:37 +02:00
Michael Stapelberg
e6b607b7d0 Fix Makefile to create correct tarball 2009-10-24 00:43:02 +02:00
Michael Stapelberg
eaaa07d6ca Update debian packaging 2009-10-24 00:39:39 +02:00
Michael Stapelberg
a6d1da6d5a Don’t compile for DZEN by default 2009-10-24 00:38:36 +02:00
Michael Stapelberg
e0c241cc10 Add error message if neither DZEN nor XMOBAR is defined 2009-10-24 00:38:26 +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
5fc2a8a38e Actually use the format string for the battery (Thanks shatter) 2009-10-16 22:07:42 +02:00
Michael Stapelberg
94ee6e4fb7 Change Makefile to make releases containing our current directory structure 2009-10-16 20:46:45 +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
8a66289702 Obey format for run_watches 2009-10-16 20:31:20 +02:00
Michael Stapelberg
b88a55ffa6 Implement format_up/format_down for ethernet 2009-10-16 20:14:40 +02:00
Michael Stapelberg
cb9bab4255 Bugfix: Cast the integers to uint64_t *before* multiplying (Thanks msi)
This fixes problems on 32-bit computers.
2009-10-16 00:25:05 +02:00
Michael Stapelberg
211899480d Separate license into file LICENSE 2009-10-15 20:44:24 +02:00
Michael Stapelberg
717b1e3446 Update default config 2009-10-15 20:42:46 +02:00
Michael Stapelberg
c303057868 Bugfix: Install manpage from new path (Thanks shatter) 2009-10-13 08:24:04 +02:00
Michael Stapelberg
a291596367 Generate manpage in Makefile 2009-10-12 09:59:11 +02:00
Michael Stapelberg
1815ea410d Add manpage in asciidoc format 2009-10-12 09:57:42 +02:00
Michael Stapelberg
c4c17294ad Cleanup disk "module" 2009-10-12 00:53:47 +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
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