summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2018-03-19battery_perc: Port to OpenBSD.Aaron Marcher
In OpenBSD battery percentage gets fetched using apm now.
2018-03-18Build Linux-only functions only on LinuxAaron Marcher
2018-01-06Fix a bug in wifi_essid().Aaron Marcher
When an invalid interface name is passed to wifi_essid() it does not close opened sockets.
2017-10-24Return actual percentage for wifi_perc()parazyd
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.
2017-09-24Move components into dedicated subdirectoryLaslo Hunhold
This brings us a lot more tidiness.