]>
git.sur5r.net Git - i3/i3status/log
Michael Stapelberg [Fri, 16 Oct 2009 18:31:20 +0000 (20:31 +0200)]
Obey format for run_watches
Michael Stapelberg [Fri, 16 Oct 2009 18:14:40 +0000 (20:14 +0200)]
Implement format_up/format_down for ethernet
Michael Stapelberg [Thu, 15 Oct 2009 22:25:05 +0000 (00:25 +0200)]
Bugfix: Cast the integers to uint64_t *before* multiplying (Thanks msi)
This fixes problems on 32-bit computers.
Michael Stapelberg [Thu, 15 Oct 2009 18:44:24 +0000 (20:44 +0200)]
Separate license into file LICENSE
Michael Stapelberg [Thu, 15 Oct 2009 18:42:46 +0000 (20:42 +0200)]
Update default config
Michael Stapelberg [Tue, 13 Oct 2009 06:24:04 +0000 (08:24 +0200)]
Bugfix: Install manpage from new path (Thanks shatter)
Michael Stapelberg [Mon, 12 Oct 2009 07:59:11 +0000 (09:59 +0200)]
Generate manpage in Makefile
Michael Stapelberg [Mon, 12 Oct 2009 07:57:42 +0000 (09:57 +0200)]
Add manpage in asciidoc format
Michael Stapelberg [Sun, 11 Oct 2009 22:53:47 +0000 (00:53 +0200)]
Cleanup disk "module"
Michael Stapelberg [Sun, 11 Oct 2009 21:27:26 +0000 (23:27 +0200)]
Implement disk info (%free/%used/%total)
Michael Stapelberg [Sun, 11 Oct 2009 20:11:09 +0000 (22:11 +0200)]
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.
Michael Stapelberg [Fri, 2 Oct 2009 19:18:00 +0000 (21:18 +0200)]
Add debian changelog entry to keep updates from overwriting local versions
Michael Stapelberg [Thu, 1 Oct 2009 20:13:30 +0000 (22:13 +0200)]
Fix linking (Thanks Atsutane)
Michael Stapelberg [Thu, 1 Oct 2009 16:18:46 +0000 (18:18 +0200)]
Bugfix: close the filehandle when done
Michael Stapelberg [Thu, 1 Oct 2009 15:43:32 +0000 (17:43 +0200)]
Implement getting the wireless ESSID
This adds a dependency for libiw
Michael Stapelberg [Sat, 26 Sep 2009 11:26:13 +0000 (13:26 +0200)]
Bugfix: Don’t show colors in wireless info if colors are disabled (Thanks shatter)
Michael Stapelberg [Sun, 23 Aug 2009 18:20:52 +0000 (20:20 +0200)]
Don’t display an error message if getaddrinfo() fails for getting the IPv6 addr (Thanks Atsutane)
Atsutane [Fri, 11 Sep 2009 19:41:22 +0000 (21:41 +0200)]
Small improvement regarding readability if one hasn't an IPv6 address.
Michael Stapelberg [Tue, 1 Sep 2009 21:43:31 +0000 (23:43 +0200)]
Initialize order array with -1 to avoid printing duplicate lines (Thanks XTaran)
Michael Stapelberg [Tue, 1 Sep 2009 21:43:24 +0000 (23:43 +0200)]
Fix compilation warning
Axel Beckert [Mon, 31 Aug 2009 17:34:57 +0000 (19:34 +0200)]
Support for (Debian) GNU/kFreeBSD
Michael Stapelberg [Tue, 18 Aug 2009 20:09:07 +0000 (22:09 +0200)]
Bugfix: Correctly terminate output if time is specified in order but no time_format given (Thanks XTaran)
Michael Stapelberg [Tue, 18 Aug 2009 19:29:44 +0000 (21:29 +0200)]
Add support for xmobar
Use i3status-xmobar | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]"
You might need to copy the default configuration to ~/.xmobarrc
Michael Stapelberg [Mon, 17 Aug 2009 22:11:04 +0000 (00:11 +0200)]
debian: fix issues with initscript
Michael Stapelberg [Sun, 2 Aug 2009 17:59:57 +0000 (19:59 +0200)]
Update debian changelog
Michael Stapelberg [Sat, 25 Jul 2009 19:32:38 +0000 (21:32 +0200)]
Return "no battery" instead of dying if a battery wasn’t found (Thanks Mirko)
Michael Stapelberg [Sat, 25 Jul 2009 19:23:39 +0000 (21:23 +0200)]
Don’t perror("connect") when there most likely is no IPv6 connectivity
Michael Stapelberg [Thu, 23 Jul 2009 18:50:35 +0000 (20:50 +0200)]
Update i3status.conf
Michael Stapelberg [Thu, 23 Jul 2009 18:47:52 +0000 (20:47 +0200)]
Bugfix: Use interface instead of eth_interface in get_ip_addr()
Michael Stapelberg [Thu, 23 Jul 2009 16:40:49 +0000 (18:40 +0200)]
Implement battery status and thermal zones for FreeBSD (patch by Baptiste Daroussin)
Michael Stapelberg [Wed, 22 Jul 2009 17:01:57 +0000 (19:01 +0200)]
Remove unneeded struct
Michael Stapelberg [Wed, 22 Jul 2009 16:51:55 +0000 (18:51 +0200)]
little fixes for FreeBSD
Michael Stapelberg [Wed, 22 Jul 2009 16:39:25 +0000 (18:39 +0200)]
Use the highest order actually used, not MAX_ORDER, for checking whether to flush (Thanks Mirko)
Michael Stapelberg [Wed, 22 Jul 2009 16:36:01 +0000 (18:36 +0200)]
Implement getting the interface speed on FreeBSD, patch by Baptiste Daroussin
Michael Stapelberg [Wed, 22 Jul 2009 16:30:16 +0000 (18:30 +0200)]
Free the addresses correctly
Michael Stapelberg [Wed, 22 Jul 2009 16:27:55 +0000 (18:27 +0200)]
Obtain IP address in a portable way, patch by Baptiste Daroussin
Michael Stapelberg [Tue, 21 Jul 2009 22:09:32 +0000 (00:09 +0200)]
Use getloadavg() instead of using /proc, patch by Baptiste Daroussin
Michael Stapelberg [Tue, 21 Jul 2009 18:45:05 +0000 (20:45 +0200)]
Hide ugly compilation calls in Makefile
Michael Stapelberg [Tue, 21 Jul 2009 18:35:19 +0000 (20:35 +0200)]
get_ipv6_addr: more documentation, use SOCK_DGRAM, reformat
Michael Stapelberg [Tue, 21 Jul 2009 18:26:53 +0000 (20:26 +0200)]
Add modelines and retab! all files
Michael Stapelberg [Tue, 21 Jul 2009 18:23:08 +0000 (20:23 +0200)]
Correctly handle the order of items
Michael Stapelberg [Tue, 21 Jul 2009 17:07:30 +0000 (19:07 +0200)]
Use own files for each function, add get_ipv6_addr.c
Michael Stapelberg [Mon, 22 Jun 2009 17:09:49 +0000 (19:09 +0200)]
debian: add README.Debian to git
Michael Stapelberg [Mon, 22 Jun 2009 17:04:28 +0000 (19:04 +0200)]
debian: use make distclean instead of make clean between builds (Thanks Mirko)
Michael Stapelberg [Sun, 21 Jun 2009 15:07:19 +0000 (17:07 +0200)]
debian: change Priority to extra (makes more sense)
Michael Stapelberg [Sun, 21 Jun 2009 12:52:03 +0000 (14:52 +0200)]
debian: Increase Standards-Version for next upload
Michael Stapelberg [Sun, 21 Jun 2009 12:51:32 +0000 (14:51 +0200)]
debian: add initscripts/default files
Michael Stapelberg [Sun, 21 Jun 2009 12:50:57 +0000 (14:50 +0200)]
debian: revert packaging to produce only one package, but with both binaries
Michael Stapelberg [Sun, 21 Jun 2009 12:15:14 +0000 (14:15 +0200)]
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.
Michael Stapelberg [Wed, 17 Jun 2009 21:55:25 +0000 (23:55 +0200)]
debian: correctly build an i3status-common package, split up manpages
Michael Stapelberg [Wed, 17 Jun 2009 20:44:17 +0000 (22:44 +0200)]
debian: update policy-version to 3.8.2, fix build, re-add initscript
Michael Stapelberg [Wed, 17 Jun 2009 20:13:48 +0000 (22:13 +0200)]
makefile: fix linking
Michael Stapelberg [Wed, 17 Jun 2009 20:08:33 +0000 (22:08 +0200)]
makefile: fix dependencies
Michael Stapelberg [Wed, 17 Jun 2009 19:49:14 +0000 (21:49 +0200)]
makefile: fix release target
Michael Stapelberg [Wed, 17 Jun 2009 19:35:49 +0000 (21:35 +0200)]
release 1.1 / debian: update changelog
Michael Stapelberg [Wed, 17 Jun 2009 19:33:54 +0000 (21:33 +0200)]
debian: build separate packages for dzen2/wmii
Michael Stapelberg [Tue, 16 Jun 2009 16:43:13 +0000 (18:43 +0200)]
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.
Michael Stapelberg [Fri, 22 May 2009 19:24:28 +0000 (21:24 +0200)]
Merge getting thermal zone temperature from atsutane, thanks!
Michael Stapelberg [Sat, 9 May 2009 21:57:17 +0000 (23:57 +0200)]
debian: Add ${misc:Depends}
Michael Stapelberg [Fri, 1 May 2009 18:02:34 +0000 (20:02 +0200)]
Debian: Fix email address, add build-dependency
Michael Stapelberg [Fri, 1 May 2009 17:57:09 +0000 (19:57 +0200)]
Fix URLs, fix make release, update debian/changelog
Michael Stapelberg [Fri, 1 May 2009 17:15:07 +0000 (19:15 +0200)]
Debian: Recommend dzen2
Michael Stapelberg [Fri, 1 May 2009 15:53:27 +0000 (17:53 +0200)]
Implement flags for batteries to use the last full capacity. This breaks configfiles.
Michael Stapelberg [Fri, 1 May 2009 13:32:51 +0000 (15:32 +0200)]
Display 0 instead of negative values for remaining time
This could happen with new batteries which are charged further than
their design capacity is
Michael Stapelberg [Thu, 30 Apr 2009 20:13:25 +0000 (22:13 +0200)]
Replace last occurences of wmiistatus
Michael Stapelberg [Thu, 30 Apr 2009 17:47:19 +0000 (19:47 +0200)]
Enable expandtab, retab! source
Michael Stapelberg [Thu, 30 Apr 2009 17:46:12 +0000 (19:46 +0200)]
Fix display of IP addresses (display "no IP" correctly)
Michael Stapelberg [Thu, 30 Apr 2009 13:17:45 +0000 (15:17 +0200)]
Debian: Change maintainer email address, set DM-Upload-Allowed field
Michael Stapelberg [Fri, 17 Apr 2009 11:48:14 +0000 (13:48 +0200)]
Modify debian package to use the new name, remove initscript as it makes no sense for dzen2
Michael Stapelberg [Fri, 17 Apr 2009 11:31:53 +0000 (13:31 +0200)]
Replace wmiistatus with i3status in files
Michael Stapelberg [Fri, 17 Apr 2009 11:17:58 +0000 (13:17 +0200)]
Rename wmiistatus* to i3status*
Michael Stapelberg [Thu, 16 Apr 2009 22:19:35 +0000 (00:19 +0200)]
Add forgotten file
Michael Stapelberg [Thu, 16 Apr 2009 22:02:58 +0000 (00:02 +0200)]
Implement arbitrary number of batteries to support computers with multiple batteries
Michael Stapelberg [Mon, 13 Apr 2009 21:44:56 +0000 (23:44 +0200)]
Fix initscript to be dash-compatible (Thanks Mirko)
Michael Stapelberg [Thu, 9 Apr 2009 17:16:49 +0000 (19:16 +0200)]
*doh* logic error
Michael Stapelberg [Thu, 9 Apr 2009 17:15:18 +0000 (19:15 +0200)]
Display the information we have
Michael Stapelberg [Thu, 9 Apr 2009 17:11:07 +0000 (19:11 +0200)]
Bugfix: Check if the present rate is > 0, not only if it is not set
Michael Stapelberg [Sun, 22 Feb 2009 19:16:48 +0000 (20:16 +0100)]
Remove unnecessary code for dzen
Michael Stapelberg [Sun, 22 Feb 2009 18:56:06 +0000 (19:56 +0100)]
Add dzen2-compatible mode
Michael Stapelberg [Sun, 25 Jan 2009 22:30:57 +0000 (23:30 +0100)]
Update manpage, remove unnecessary ifdefs
Michael Stapelberg [Sun, 25 Jan 2009 22:18:25 +0000 (23:18 +0100)]
Move configuration file parsing into wmiistatus.c, saves a lot of hassle/SLOC/files
Michael Stapelberg [Sun, 25 Jan 2009 22:03:19 +0000 (23:03 +0100)]
Simplify config file parsing *a lot*
Michael Stapelberg [Sun, 25 Jan 2009 21:57:08 +0000 (22:57 +0100)]
Fix warnings due to unused variables on NetBSD
Michael Stapelberg [Sun, 25 Jan 2009 21:51:54 +0000 (22:51 +0100)]
Add code for getting process status (running/not) and load on NetBSD
Michael Stapelberg [Sun, 25 Jan 2009 20:00:49 +0000 (21:00 +0100)]
Append \n to error messages to make them readable, regardless of circumstances
Michael Stapelberg [Sun, 25 Jan 2009 19:50:02 +0000 (20:50 +0100)]
Make linux-dependant part use #ifdef LINUX
Michael Stapelberg [Sun, 25 Jan 2009 19:24:34 +0000 (20:24 +0100)]
Remove unused variables, use correct limit constants
Michael Stapelberg [Sun, 25 Jan 2009 19:08:57 +0000 (20:08 +0100)]
Display details also when battery is loaded
Michael Stapelberg [Sun, 25 Jan 2009 18:57:20 +0000 (19:57 +0100)]
Use correct format string (%ld)
Michael Stapelberg [Sun, 25 Jan 2009 18:54:41 +0000 (19:54 +0100)]
Eliminate more unnecessary code (pid file checking)
Michael Stapelberg [Sun, 25 Jan 2009 18:43:02 +0000 (19:43 +0100)]
Beautify wireless code
Michael Stapelberg [Sun, 25 Jan 2009 18:11:53 +0000 (19:11 +0100)]
Beautify the code for getting ip address/ethernet speed, only use one static socket
Michael Stapelberg [Sun, 25 Jan 2009 17:57:54 +0000 (18:57 +0100)]
Document everything, wrap comments at 80 characters, handle socket() return code
Michael Stapelberg [Thu, 8 Jan 2009 23:13:18 +0000 (00:13 +0100)]
Handle common errors without dying
Michael Stapelberg [Wed, 10 Dec 2008 10:11:31 +0000 (11:11 +0100)]
Don't show eth-speed if it was never set
Michael Stapelberg [Sun, 30 Nov 2008 00:46:01 +0000 (01:46 +0100)]
Correctly open new files
Michael Stapelberg [Thu, 13 Nov 2008 18:43:27 +0000 (19:43 +0100)]
Use 3 characters for WLAN signal strength
Michael Stapelberg [Wed, 29 Oct 2008 22:29:06 +0000 (23:29 +0100)]
Remove debugmessage
Michael Stapelberg [Wed, 29 Oct 2008 22:26:26 +0000 (23:26 +0100)]
Make wmiistatus run all the time and wait for wmii_path to exist
Instead of exiting as a file inside wmii_path cannot be opened, we wait
until wmii_path is found again (particularly the /rbar part, that is),
re-setup our files and continue as if nothing happened.
This will make wmiistatus survive restarts of wmii and make it wait for
/mnt/wmii to appear when booting up (and wmiistatus gets started before
wmii itself)
Michael Stapelberg [Fri, 24 Oct 2008 21:45:45 +0000 (23:45 +0200)]
Add support for differently named uevent data and hint for 9pnet_fd