]> git.sur5r.net Git - i3/i3status/log
i3/i3status
13 years agomanpage: fix example for xmobar/dzen2 2.2
Michael Stapelberg [Wed, 22 Sep 2010 22:50:52 +0000 (00:50 +0200)]
manpage: fix example for xmobar/dzen2

13 years agobump version in asciidoc.conf
Michael Stapelberg [Wed, 22 Sep 2010 22:41:10 +0000 (00:41 +0200)]
bump version in asciidoc.conf

13 years agodebian: bump version, wrap changelog
Michael Stapelberg [Wed, 22 Sep 2010 22:36:58 +0000 (00:36 +0200)]
debian: bump version, wrap changelog

13 years agodebian: add source/format file
Michael Stapelberg [Wed, 22 Sep 2010 22:20:41 +0000 (00:20 +0200)]
debian: add source/format file

13 years agoinitialize result to NULL to shun compiler warning
Michael Stapelberg [Wed, 22 Sep 2010 22:20:16 +0000 (00:20 +0200)]
initialize result to NULL to shun compiler warning

13 years agomakefile: also copy include/ in make release
Michael Stapelberg [Wed, 22 Sep 2010 22:19:59 +0000 (00:19 +0200)]
makefile: also copy include/ in make release

13 years agoport support for xdg basedir and some makefile fixes from i3
Michael Stapelberg [Wed, 22 Sep 2010 22:12:48 +0000 (00:12 +0200)]
port support for xdg basedir and some makefile fixes from i3

13 years agoBump version in manpage
Michael Stapelberg [Wed, 22 Sep 2010 18:15:23 +0000 (20:15 +0200)]
Bump version in manpage

13 years agoImplement --version/-v parameter
Michael Stapelberg [Wed, 22 Sep 2010 18:15:08 +0000 (20:15 +0200)]
Implement --version/-v parameter

13 years agomakefile: define GIT_VERSION, statically include *VERSION in release tarballs
Michael Stapelberg [Wed, 22 Sep 2010 18:14:42 +0000 (20:14 +0200)]
makefile: define GIT_VERSION, statically include *VERSION in release tarballs

13 years agomakefile: remove obsolete compilation flag
Michael Stapelberg [Wed, 22 Sep 2010 18:14:25 +0000 (20:14 +0200)]
makefile: remove obsolete compilation flag

13 years agoupdate changelog
Michael Stapelberg [Wed, 22 Sep 2010 18:10:54 +0000 (20:10 +0200)]
update changelog

13 years agoImplement displaying the wireless connection speed (Thanks Felicitus)
Michael Stapelberg [Wed, 22 Sep 2010 17:59:48 +0000 (19:59 +0200)]
Implement displaying the wireless connection speed (Thanks Felicitus)

Based on a patch by Felicitus.

13 years agoBugfix: Correctly check for interface up/down-status (Thanks docsteel)
Michael Stapelberg [Wed, 21 Jul 2010 09:01:37 +0000 (11:01 +0200)]
Bugfix: Correctly check for interface up/down-status (Thanks docsteel)

13 years agoBugfix: s/CASE_SEC/CASE_SEC_TITLE for volume
Michael Stapelberg [Wed, 21 Jul 2010 08:57:47 +0000 (10:57 +0200)]
Bugfix: s/CASE_SEC/CASE_SEC_TITLE for volume

13 years agoImplement ALSA volume support
Michael Stapelberg [Tue, 20 Jul 2010 17:30:27 +0000 (19:30 +0200)]
Implement ALSA volume support

13 years agoprint_ddate(): Correctly seperate the St. Tibs String from the rest
Axel Wagner [Thu, 15 Jul 2010 12:13:25 +0000 (14:13 +0200)]
print_ddate(): Correctly seperate the St. Tibs String from the rest

13 years agodebian: add libcap2-bin as dependency (for setcap(8))
Michael Stapelberg [Sun, 4 Jul 2010 19:53:36 +0000 (21:53 +0200)]
debian: add libcap2-bin as dependency (for setcap(8))

13 years agoUpdated the manual page with the color_* directives.
Fernando Tarlá Cardoso Lemos [Wed, 30 Jun 2010 22:56:30 +0000 (19:56 -0300)]
Updated the manual page with the color_* directives.

13 years agoSupport customized colors.
Fernando Tarlá Cardoso Lemos [Tue, 29 Jun 2010 23:59:03 +0000 (20:59 -0300)]
Support customized colors.

13 years agoDon't leak skfd on errors. Don't spam stderr if the iface isn't present.
Fernando Tarlá Cardoso Lemos [Tue, 29 Jun 2010 23:08:21 +0000 (20:08 -0300)]
Don't leak skfd on errors. Don't spam stderr if the iface isn't present.

13 years agoAdd fernandotcl to copyright notice
Michael Stapelberg [Mon, 28 Jun 2010 14:53:22 +0000 (16:53 +0200)]
Add fernandotcl to copyright notice

13 years agoEvaluate wireless quality average. Fix dBm calculations.
Fernando Tarlá Cardoso Lemos [Fri, 25 Jun 2010 03:38:47 +0000 (00:38 -0300)]
Evaluate wireless quality average. Fix dBm calculations.

13 years agodisk_info: implement %avail
Mirko Augsburger [Thu, 24 Jun 2010 23:19:09 +0000 (01:19 +0200)]
disk_info: implement %avail

13 years agowireless: fix formats
Michael Stapelberg [Thu, 24 Jun 2010 22:04:11 +0000 (00:04 +0200)]
wireless: fix formats

13 years agoDisplay wireless quality as percentage
Michael Stapelberg [Thu, 24 Jun 2010 21:59:44 +0000 (23:59 +0200)]
Display wireless quality as percentage

13 years agoTake into account the wireless quality maximum.
Fernando Tarlá Cardoso Lemos [Sun, 20 Jun 2010 18:05:33 +0000 (15:05 -0300)]
Take into account the wireless quality maximum.

13 years agoddate: Use static memory / only allocate format copy memory once
Michael Stapelberg [Sat, 19 Jun 2010 10:50:03 +0000 (12:50 +0200)]
ddate: Use static memory / only allocate format copy memory once

13 years agoImplemented a ddate-module
Axel Wagner [Thu, 17 Jun 2010 23:53:27 +0000 (01:53 +0200)]
Implemented a ddate-module

13 years agoDo proper error handling in print_time()
Axel Wagner [Thu, 17 Jun 2010 19:33:28 +0000 (21:33 +0200)]
Do proper error handling in print_time()

13 years agos/systemcalls/system calls
Michael Stapelberg [Tue, 8 Jun 2010 16:26:09 +0000 (18:26 +0200)]
s/systemcalls/system calls

14 years agoTreat the interface as 'down' when it cannot be found in /proc/net/wireless (Thanks...
Michael Stapelberg [Mon, 19 Apr 2010 11:29:52 +0000 (13:29 +0200)]
Treat the interface as 'down' when it cannot be found in /proc/net/wireless (Thanks to Fabio Zanini)

14 years agodebian: depend on libcap2-bin for setcap
Michael Stapelberg [Sat, 10 Apr 2010 22:16:46 +0000 (00:16 +0200)]
debian: depend on libcap2-bin for setcap

14 years agodebian: update packaging 2.1
Michael Stapelberg [Sat, 10 Apr 2010 22:00:58 +0000 (00:00 +0200)]
debian: update packaging

14 years agoupdate changelog
Michael Stapelberg [Sat, 10 Apr 2010 21:49:33 +0000 (23:49 +0200)]
update changelog

14 years agoLittle style fixes for the last commit
Michael Stapelberg [Tue, 6 Apr 2010 12:52:13 +0000 (14:52 +0200)]
Little style fixes for the last commit

14 years agoipv6: update manpage
Christian Dietrich [Mon, 5 Apr 2010 14:13:43 +0000 (16:13 +0200)]
ipv6: update manpage

14 years agoipv6: provide format strings for ipv6 up and ipv6 down
Christian Dietrich [Mon, 5 Apr 2010 13:47:56 +0000 (15:47 +0200)]
ipv6: provide format strings for ipv6 up and ipv6 down

14 years agodebian: add postinst file which issues setcap
Michael Stapelberg [Tue, 6 Apr 2010 12:44:53 +0000 (14:44 +0200)]
debian: add postinst file which issues setcap

14 years agomakefile: don’t fail if setcap is unsuccessful
Michael Stapelberg [Tue, 6 Apr 2010 12:39:16 +0000 (14:39 +0200)]
makefile: don’t fail if setcap is unsuccessful

14 years agoipv6: don't require a title for config option
Christian Dietrich [Sun, 4 Apr 2010 22:09:03 +0000 (00:09 +0200)]
ipv6: don't require a title for config option

14 years agoinstall i3status with cap_net_admin capability, document it
Michael Stapelberg [Thu, 1 Apr 2010 18:34:03 +0000 (20:34 +0200)]
install i3status with cap_net_admin capability, document it

14 years agomakefile: only regenerate i3status.1 when necessary (Patch by Peter Johnson)
Michael Stapelberg [Sun, 14 Feb 2010 11:54:38 +0000 (12:54 +0100)]
makefile: only regenerate i3status.1 when necessary (Patch by Peter Johnson)

14 years agoColorize ethernet output (patch by Peter Johnson)
Michael Stapelberg [Sun, 14 Feb 2010 11:49:03 +0000 (12:49 +0100)]
Colorize ethernet output (patch by Peter Johnson)

14 years agoInstead of a relative sleep(1), sleep until the full second
Michael Stapelberg [Fri, 29 Jan 2010 23:02:17 +0000 (00:02 +0100)]
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.

14 years agowireless: display no IP instead of (null)
Michael Stapelberg [Tue, 26 Jan 2010 13:25:37 +0000 (14:25 +0100)]
wireless: display no IP instead of (null)

14 years agoget_ip_address: return NULL instead of down
Michael Stapelberg [Tue, 26 Jan 2010 13:25:21 +0000 (14:25 +0100)]
get_ip_address: return NULL instead of down

14 years agoFix FTBFS on kFreeBSD and Hurd: libiw is Linux-only
Axel Beckert [Mon, 11 Jan 2010 21:12:29 +0000 (22:12 +0100)]
Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-only

14 years agodisk: also round when printing TB (Thanks Merovius)
Michael Stapelberg [Sun, 10 Jan 2010 10:07:21 +0000 (11:07 +0100)]
disk: also round when printing TB (Thanks Merovius)

14 years agoipv6: cache the result of the DNS query only, the socket needs to be re-created every...
Michael Stapelberg [Mon, 4 Jan 2010 10:16:59 +0000 (11:16 +0100)]
ipv6: cache the result of the DNS query only, the socket needs to be re-created every time

14 years agoipv6: reuse the existing socket for further lookups
Michael Stapelberg [Fri, 1 Jan 2010 21:01:57 +0000 (22:01 +0100)]
ipv6: reuse the existing socket for further lookups

This reduces network overhead if you do not run a local caching
nameserver.

14 years agoRemove trailing whitespace
Michael Stapelberg [Sun, 20 Dec 2009 17:45:46 +0000 (18:45 +0100)]
Remove trailing whitespace

14 years agoImplemented showing the time when battery is empty
André-Patrick Bubel [Tue, 8 Dec 2009 10:32:46 +0000 (11:32 +0100)]
Implemented showing the time when battery is empty

14 years agoThe load values represent 1,5,15 min, not 5,10,15 min (Thanks Chris)
Michael Stapelberg [Sun, 13 Dec 2009 12:59:59 +0000 (13:59 +0100)]
The load values represent 1,5,15 min, not 5,10,15 min (Thanks Chris)

14 years agodebian: add missing build-deps
Michael Stapelberg [Tue, 27 Oct 2009 19:32:27 +0000 (20:32 +0100)]
debian: add missing build-deps

14 years agoUpdate debian packaging for 2.0 2.0
Michael Stapelberg [Tue, 27 Oct 2009 19:27:29 +0000 (20:27 +0100)]
Update debian packaging for 2.0

14 years agoUpdate manpage for output_format
Michael Stapelberg [Tue, 27 Oct 2009 19:27:15 +0000 (20:27 +0100)]
Update manpage for output_format

14 years agoUpdate debian/ for single binary
Michael Stapelberg [Sat, 24 Oct 2009 11:40:13 +0000 (13:40 +0200)]
Update debian/ for single binary

14 years agoFix function signature / pointer type
Michael Stapelberg [Sat, 24 Oct 2009 11:39:36 +0000 (13:39 +0200)]
Fix function signature / pointer type

14 years agoconfig: first try ~/.i3status.conf, then /etc/i3status.conf
Michael Stapelberg [Sat, 24 Oct 2009 11:36:07 +0000 (13:36 +0200)]
config: first try ~/.i3status.conf, then /etc/i3status.conf

14 years agoChange output format to be a config option instead of a compile time define
Michael Stapelberg [Sat, 24 Oct 2009 11:27:02 +0000 (13:27 +0200)]
Change output format to be a config option instead of a compile time define

14 years agodebian: symlink the manpage of i3status for the i3status-xmobar binary
Michael Stapelberg [Fri, 23 Oct 2009 22:54:46 +0000 (00:54 +0200)]
debian: symlink the manpage of i3status for the i3status-xmobar binary

14 years agodebian: Update standards version
Michael Stapelberg [Fri, 23 Oct 2009 22:46:37 +0000 (00:46 +0200)]
debian: Update standards version

14 years agoFix Makefile to create correct tarball
Michael Stapelberg [Fri, 23 Oct 2009 22:43:02 +0000 (00:43 +0200)]
Fix Makefile to create correct tarball

14 years agoUpdate debian packaging
Michael Stapelberg [Fri, 23 Oct 2009 22:39:39 +0000 (00:39 +0200)]
Update debian packaging

14 years agoDon’t compile for DZEN by default
Michael Stapelberg [Fri, 23 Oct 2009 22:38:36 +0000 (00:38 +0200)]
Don’t compile for DZEN by default

14 years agoAdd error message if neither DZEN nor XMOBAR is defined
Michael Stapelberg [Fri, 23 Oct 2009 22:38:26 +0000 (00:38 +0200)]
Add error message if neither DZEN nor XMOBAR is defined

14 years agobattery: split up %remaining into %percentage and %remaining (Thanks shatter)
Michael Stapelberg [Fri, 16 Oct 2009 20:21:05 +0000 (22:21 +0200)]
battery: split up %remaining into %percentage and %remaining (Thanks shatter)

14 years agoActually use the format string for the battery (Thanks shatter)
Michael Stapelberg [Fri, 16 Oct 2009 20:07:42 +0000 (22:07 +0200)]
Actually use the format string for the battery (Thanks shatter)

14 years agoChange Makefile to make releases containing our current directory structure
Michael Stapelberg [Fri, 16 Oct 2009 18:46:45 +0000 (20:46 +0200)]
Change Makefile to make releases containing our current directory structure

14 years agoImplement option to use the last full capacity instead of the design capacity
Michael Stapelberg [Fri, 16 Oct 2009 18:37:41 +0000 (20:37 +0200)]
Implement option to use the last full capacity instead of the design capacity

14 years agoObey format for run_watches
Michael Stapelberg [Fri, 16 Oct 2009 18:31:20 +0000 (20:31 +0200)]
Obey format for run_watches

14 years agoImplement format_up/format_down for ethernet
Michael Stapelberg [Fri, 16 Oct 2009 18:14:40 +0000 (20:14 +0200)]
Implement format_up/format_down for ethernet

14 years agoBugfix: Cast the integers to uint64_t *before* multiplying (Thanks msi)
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.

14 years agoSeparate license into file LICENSE
Michael Stapelberg [Thu, 15 Oct 2009 18:44:24 +0000 (20:44 +0200)]
Separate license into file LICENSE

14 years agoUpdate default config
Michael Stapelberg [Thu, 15 Oct 2009 18:42:46 +0000 (20:42 +0200)]
Update default config

14 years agoBugfix: Install manpage from new path (Thanks shatter)
Michael Stapelberg [Tue, 13 Oct 2009 06:24:04 +0000 (08:24 +0200)]
Bugfix: Install manpage from new path (Thanks shatter)

14 years agoGenerate manpage in Makefile
Michael Stapelberg [Mon, 12 Oct 2009 07:59:11 +0000 (09:59 +0200)]
Generate manpage in Makefile

14 years agoAdd manpage in asciidoc format
Michael Stapelberg [Mon, 12 Oct 2009 07:57:42 +0000 (09:57 +0200)]
Add manpage in asciidoc format

14 years agoCleanup disk "module"
Michael Stapelberg [Sun, 11 Oct 2009 22:53:47 +0000 (00:53 +0200)]
Cleanup disk "module"

14 years agoImplement disk info (%free/%used/%total)
Michael Stapelberg [Sun, 11 Oct 2009 21:27:26 +0000 (23:27 +0200)]
Implement disk info (%free/%used/%total)

14 years agoBreaks configfiles! Major refactoring of i3status, see below
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.

14 years agoAdd debian changelog entry to keep updates from overwriting local versions
Michael Stapelberg [Fri, 2 Oct 2009 19:18:00 +0000 (21:18 +0200)]
Add debian changelog entry to keep updates from overwriting local versions

14 years agoFix linking (Thanks Atsutane)
Michael Stapelberg [Thu, 1 Oct 2009 20:13:30 +0000 (22:13 +0200)]
Fix linking (Thanks Atsutane)

14 years agoBugfix: close the filehandle when done
Michael Stapelberg [Thu, 1 Oct 2009 16:18:46 +0000 (18:18 +0200)]
Bugfix: close the filehandle when done

14 years agoImplement getting the wireless ESSID
Michael Stapelberg [Thu, 1 Oct 2009 15:43:32 +0000 (17:43 +0200)]
Implement getting the wireless ESSID

This adds a dependency for libiw

14 years agoBugfix: Don’t show colors in wireless info if colors are disabled (Thanks shatter)
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)

14 years agoDon’t display an error message if getaddrinfo() fails for getting the IPv6 addr ...
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)

14 years agoSmall improvement regarding readability if one hasn't an IPv6 address.
Atsutane [Fri, 11 Sep 2009 19:41:22 +0000 (21:41 +0200)]
Small improvement regarding readability if one hasn't an IPv6 address.

14 years agoInitialize order array with -1 to avoid printing duplicate lines (Thanks XTaran)
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)

14 years agoFix compilation warning
Michael Stapelberg [Tue, 1 Sep 2009 21:43:24 +0000 (23:43 +0200)]
Fix compilation warning

14 years agoSupport for (Debian) GNU/kFreeBSD
Axel Beckert [Mon, 31 Aug 2009 17:34:57 +0000 (19:34 +0200)]
Support for (Debian) GNU/kFreeBSD

14 years agoBugfix: Correctly terminate output if time is specified in order but no time_format...
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)

14 years agoAdd support for xmobar
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

14 years agodebian: fix issues with initscript
Michael Stapelberg [Mon, 17 Aug 2009 22:11:04 +0000 (00:11 +0200)]
debian: fix issues with initscript

14 years agoUpdate debian changelog
Michael Stapelberg [Sun, 2 Aug 2009 17:59:57 +0000 (19:59 +0200)]
Update debian changelog

14 years agoReturn "no battery" instead of dying if a battery wasn’t found (Thanks Mirko)
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)

14 years agoDon’t perror("connect") when there most likely is no IPv6 connectivity
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

14 years agoUpdate i3status.conf
Michael Stapelberg [Thu, 23 Jul 2009 18:50:35 +0000 (20:50 +0200)]
Update i3status.conf

14 years agoBugfix: Use interface instead of eth_interface in get_ip_addr()
Michael Stapelberg [Thu, 23 Jul 2009 18:47:52 +0000 (20:47 +0200)]
Bugfix: Use interface instead of eth_interface in get_ip_addr()