Commit Graph

114 Commits

Author SHA1 Message Date
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
Michael Stapelberg
be405947ee Debian: Fix email address, add build-dependency 2009-05-01 20:02:34 +02:00
Michael Stapelberg
bb4ebcfecc Fix URLs, fix make release, update debian/changelog 2009-05-01 19:57:09 +02:00
Michael Stapelberg
52422a4f28 Debian: Recommend dzen2 2009-05-01 19:15:07 +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
b844bd0eb3 Replace last occurences of wmiistatus 2009-04-30 22:13:25 +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
f723688c35 Debian: Change maintainer email address, set DM-Upload-Allowed field 2009-04-30 15:17:45 +02:00
Michael Stapelberg
827413aae1 Modify debian package to use the new name, remove initscript as it makes no sense for dzen2 2009-04-17 13:48:14 +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
Michael Stapelberg
e4c017893c Add forgotten file 2009-04-17 00:19:35 +02:00
Michael Stapelberg
26d973472b Implement arbitrary number of batteries to support computers with multiple batteries 2009-04-17 00:02:58 +02:00
Michael Stapelberg
b71d390d59 Fix initscript to be dash-compatible (Thanks Mirko) 2009-04-13 23:44:56 +02:00
Michael Stapelberg
df2fb018fb *doh* logic error 2009-04-09 19:16:49 +02:00
Michael Stapelberg
5fc9e2ffb2 Display the information we have 2009-04-09 19:15:18 +02:00
Michael Stapelberg
02b4992e9d Bugfix: Check if the present rate is > 0, not only if it is not set 2009-04-09 19:11:07 +02:00
Michael Stapelberg
444516794e Remove unnecessary code for dzen 2009-02-22 20:16:48 +01:00
Michael Stapelberg
6ce04aea3f Add dzen2-compatible mode 2009-02-22 19:56:06 +01:00
Michael Stapelberg
6952171307 Update manpage, remove unnecessary ifdefs 2009-01-25 23:30:57 +01:00
Michael Stapelberg
bbd9e7f85d Move configuration file parsing into wmiistatus.c, saves a lot of hassle/SLOC/files 2009-01-25 23:18:25 +01:00
Michael Stapelberg
2abe135288 Simplify config file parsing *a lot* 2009-01-25 23:03:19 +01:00
Michael Stapelberg
dc6b642eff Fix warnings due to unused variables on NetBSD 2009-01-25 22:57:08 +01:00
Michael Stapelberg
62fe9d1210 Add code for getting process status (running/not) and load on NetBSD 2009-01-25 22:51:54 +01:00
Michael Stapelberg
851dad9655 Append \n to error messages to make them readable, regardless of circumstances 2009-01-25 21:00:49 +01:00
Michael Stapelberg
5bdb2a95df Make linux-dependant part use #ifdef LINUX 2009-01-25 20:50:02 +01:00
Michael Stapelberg
4e19825564 Remove unused variables, use correct limit constants 2009-01-25 20:24:34 +01:00
Michael Stapelberg
7fe3b0657b Display details also when battery is loaded 2009-01-25 20:08:57 +01:00
Michael Stapelberg
cc0484b216 Use correct format string (%ld) 2009-01-25 19:57:20 +01:00
Michael Stapelberg
a85e482f7b Eliminate more unnecessary code (pid file checking) 2009-01-25 19:54:41 +01:00
Michael Stapelberg
a9bf807cdd Beautify wireless code 2009-01-25 19:43:02 +01:00
Michael Stapelberg
5aa7639297 Beautify the code for getting ip address/ethernet speed, only use one static socket 2009-01-25 19:11:53 +01:00
Michael Stapelberg
618990292c Document everything, wrap comments at 80 characters, handle socket() return code 2009-01-25 18:57:54 +01:00
Michael Stapelberg
9b7963c4fc Handle common errors without dying 2009-01-09 00:13:18 +01:00
Michael Stapelberg
513cfe8f1b Don't show eth-speed if it was never set 2008-12-10 11:11:31 +01:00
Michael Stapelberg
9388ee56e1 Correctly open new files 2008-11-30 01:46:01 +01:00
Michael Stapelberg
d9ff643b10 Use 3 characters for WLAN signal strength 2008-11-13 19:43:27 +01:00
Michael Stapelberg
b052bfa79b Remove debugmessage 2008-10-29 23:29:06 +01:00
Michael Stapelberg
7d0f324b7a 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)
2008-10-29 23:26:26 +01:00
Michael Stapelberg
554a984fe6 Add support for differently named uevent data and hint for 9pnet_fd 2008-10-24 23:45:45 +02:00
Michael Stapelberg
fe75f783ed Add default config to git 2008-10-24 22:27:11 +02:00
Michael Stapelberg
bd16ff54c6 Remove dh_prep as it deletes the configfile in /etc 2008-10-24 22:17:21 +02:00
Michael Stapelberg
8db7109e26 Add debian packaging files to repository 2008-10-24 21:49:41 +02:00
Michael Stapelberg
7f39bf160c Install manpages aswell 2008-10-24 21:39:28 +02:00
Michael Stapelberg
6344135cb2 Add release target to Makefile, use -f for deletion 2008-10-24 21:29:00 +02:00
Michael Stapelberg
62f3fc6838 Implement getting current speed from network interfaces
The network interface must be supported by ethtool, as its syscall is
used for this. This is at least the case for e1000 cards.

Unfortunately, getting the speed needs root privileges. Therefore, you
have to enable it in configuration separately.
2008-10-24 21:05:20 +02:00
Michael Stapelberg
753144d58b Make source splint-clean (invoked with -weak) 2008-10-10 10:33:05 +02:00