Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uptime: Separate function for readbility | Aaron Marcher | 2018-04-29 | 1 | -2/+16 |
| | |||||
* | battery: Separate function for readbility | Aaron Marcher | 2018-04-29 | 1 | -2/+6 |
| | |||||
* | ram: Move up includes | Aaron Marcher | 2018-04-29 | 1 | -5/+6 |
| | |||||
* | temp: Port to OpenBSD | Aaron Marcher | 2018-04-29 | 1 | -1/+31 |
| | | | | In OpenBSD temperature gets fetched using sysctl now. | ||||
* | Add OpenBSD support in volume.c | parazyd | 2018-04-29 | 1 | -3/+5 |
| | |||||
* | ip: add OpenBSD support | Ali H. Fardan | 2018-04-29 | 1 | -2/+5 |
| | | | | ip.c already works on OpenBSD, it's just missing some headers: | ||||
* | Add OpenBSD RAM stats | Darron Anderson | 2018-04-14 | 1 | -1/+75 |
| | |||||
* | Format error messages properly | Aaron Marcher | 2018-03-28 | 14 | -32/+53 |
| | | | | | Make use of strerror(errno) and format all errors equally: function ['parameters']: error message | ||||
* | Get rid of err.h as it is not portable | Aaron Marcher | 2018-03-28 | 12 | -43/+35 |
| | | | | | Replace warn() and warnx() with fprintf() and add <stdio.h> where necessary. | ||||
* | More robust preprocessor switches | Aaron Marcher | 2018-03-21 | 10 | -17/+17 |
| | | | | | Replace #ifdef with #if defined() and #elif with #elif defined() as it should only test if it is defined or not. | ||||
* | uptime: Port to OpenBSD. | Aaron Marcher | 2018-03-20 | 1 | -5/+30 |
| | | | | In OpenBSD uptime gets fetched using sysctl now. | ||||
* | battery_perc: Port to OpenBSD. | Aaron Marcher | 2018-03-19 | 1 | -1/+29 |
| | | | | In OpenBSD battery percentage gets fetched using apm now. | ||||
* | Build Linux-only functions only on Linux | Aaron Marcher | 2018-03-18 | 10 | -0/+20 |
| | |||||
* | Fix a bug in wifi_essid(). | Aaron Marcher | 2018-01-06 | 1 | -0/+1 |
| | | | | | When an invalid interface name is passed to wifi_essid() it does not close opened sockets. | ||||
* | Return actual percentage for wifi_perc() | parazyd | 2017-10-24 | 1 | -3/+7 |
| | | | | | | Implement basic percentage calculation for wifi_perc. With this commit, the function returns correct percentage, since the max of what /proc/net/wireless returns is 70. | ||||
* | Move components into dedicated subdirectory | Laslo Hunhold | 2017-09-24 | 19 | -0/+796 |
This brings us a lot more tidiness. |