Commit Graph

11 Commits

Author SHA1 Message Date
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
Michael Stapelberg
b9948793a5 Add manpage, ignore spaces in tokens, introduce interval 2008-10-07 15:25:41 +02:00
Michael Stapelberg
a49ff50578 Make everything configurable 2008-10-07 13:41:10 +02:00
Michael Stapelberg
7c79d735d8 Implement colors for runwatches and WLAN down 2008-10-07 12:05:57 +02:00
Michael Stapelberg
6f705c20de Make runwatches work again 2008-10-07 11:54:04 +02:00
Michael Stapelberg
7fa8c4b9a9 Write information in separate files, define order
wmii will show them with little border between, better than the previous
method, where an ascii bar was shown
2008-10-07 11:45:52 +02:00
Michael Stapelberg
e94e252089 Strip all non-digit characters from pidbuf
This is needed for dhclient's pidfile, as it contains a newline
2008-10-07 11:22:35 +02:00
Michael Stapelberg
e31a85eb3b Make some formats/paths configurable, add initscript 2008-10-04 19:32:35 +02:00
Michael Stapelberg
e68449ee1d Implement run_watches 2008-10-04 19:16:41 +02:00
Michael Stapelberg
65251638dd Cleanup
- Add more warning-flags to Makefile and fix warnings
- Create config.h as a central place for paths/names
- Add wmiistatus.h for definitions
2008-10-04 18:42:12 +02:00