summaryrefslogtreecommitdiff
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* wifi: OS splitQuentin Rameau2018-04-302-3/+1
|
* uptime: OS splitQuentin Rameau2018-04-302-24/+25
|
* temperature: OS splitQuentin Rameau2018-04-302-14/+16
|
* swap: OS splitQuentin Rameau2018-04-302-3/+1
|
* ram: OS splitQuentin Rameau2018-04-303-129/+129
|
* entropy: OS splitQuentin Rameau2018-04-302-3/+1
|
* cpu: OS splitQuentin Rameau2018-04-302-25/+27
|
* battery: OS splitQuentin Rameau2018-04-302-34/+33
|
* cpu_freq: Port to OpenBSDAaron Marcher2018-04-301-1/+24
| | | | In OpenBSD CPU frequency gets fetched using sysctl now.
* Fix typo in temperatureAaron Marcher2018-04-291-1/+1
|
* uptime: Separate function for readbilityAaron Marcher2018-04-291-2/+16
|
* battery: Separate function for readbilityAaron Marcher2018-04-291-2/+6
|
* ram: Move up includesAaron Marcher2018-04-291-5/+6
|
* temp: Port to OpenBSDAaron Marcher2018-04-291-1/+31
| | | | In OpenBSD temperature gets fetched using sysctl now.
* Add OpenBSD support in volume.cparazyd2018-04-291-3/+5
|
* ip: add OpenBSD supportAli H. Fardan2018-04-291-2/+5
| | | | ip.c already works on OpenBSD, it's just missing some headers:
* Add OpenBSD RAM statsDarron Anderson2018-04-141-1/+75
|
* Format error messages properlyAaron Marcher2018-03-2814-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 portableAaron Marcher2018-03-2812-43/+35
| | | | | Replace warn() and warnx() with fprintf() and add <stdio.h> where necessary.
* More robust preprocessor switchesAaron Marcher2018-03-2110-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 Marcher2018-03-201-5/+30
| | | | In OpenBSD uptime gets fetched using sysctl now.
* battery_perc: Port to OpenBSD.Aaron Marcher2018-03-191-1/+29
| | | | In OpenBSD battery percentage gets fetched using apm now.
* Build Linux-only functions only on LinuxAaron Marcher2018-03-1810-0/+20
|
* Fix a bug in wifi_essid().Aaron Marcher2018-01-061-0/+1
| | | | | When an invalid interface name is passed to wifi_essid() it does not close opened sockets.
* Return actual percentage for wifi_perc()parazyd2017-10-241-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 subdirectoryLaslo Hunhold2017-09-2419-0/+796
This brings us a lot more tidiness.