summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* temperature: OS splitQuentin Rameau2018-04-303-15/+17
|
* swap: OS splitQuentin Rameau2018-04-303-4/+2
|
* ram: OS splitQuentin Rameau2018-04-304-130/+130
|
* entropy: OS splitQuentin Rameau2018-04-303-4/+2
|
* cpu: OS splitQuentin Rameau2018-04-303-26/+28
|
* battery: OS splitQuentin Rameau2018-04-303-35/+34
|
* Makefile: detect running OSQuentin Rameau2018-04-303-2/+7
|
* cpu_freq: Port to OpenBSDAaron Marcher2018-04-302-2/+25
| | | | In OpenBSD CPU frequency gets fetched using sysctl now.
* Fix typo in temperatureAaron Marcher2018-04-291-1/+1
|
* Update README for OpenBSD buildAaron 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
|
* Sort LICENSE according to first commitAaron Marcher2018-04-291-2/+2
|
* temp: Port to OpenBSDAaron Marcher2018-04-292-2/+31
| | | | In OpenBSD temperature gets fetched using sysctl now.
* Remove vol_perc() from todo in READMEAaron Marcher2018-04-291-1/+0
|
* Update LICENSE for parazydAaron Marcher2018-04-291-1/+1
|
* Add OpenBSD support in volume.cparazyd2018-04-292-4/+9
|
* Update LICENSE for Ali H. FardanAaron Marcher2018-04-291-1/+1
|
* Remove ipv{4,6}() from todo in READMEAaron Marcher2018-04-291-1/+0
|
* ip: add OpenBSD supportAli H. Fardan2018-04-291-2/+5
| | | | ip.c already works on OpenBSD, it's just missing some headers:
* Remove non-portable functions from config.def.hAaron Marcher2018-04-161-3/+1
|
* Add Darron Anderson to LICENSEAaron Marcher2018-04-141-0/+1
| | | | Thank you for your contribution.
* Remove ram_*() from READMEAaron Marcher2018-04-141-1/+0
|
* Add OpenBSD RAM statsDarron Anderson2018-04-141-1/+75
|
* Format error messages properlyAaron Marcher2018-03-2815-33/+55
| | | | | Make use of strerror(errno) and format all errors equally: function ['parameters']: error message
* Remove program name from error messagesAaron Marcher2018-03-281-1/+1
|
* Get rid of err.h as it is not portableAaron Marcher2018-03-2813-46/+36
| | | | | Replace warn() and warnx() with fprintf() and add <stdio.h> where necessary.
* Remove unnecessary headersAaron Marcher2018-03-281-2/+0
|
* Remove ALSA dependency from READMEAaron Marcher2018-03-261-2/+1
| | | | | ALSA is not a dependency anymore as we use /dev/mixer. The corresponding notice about PulseAudio is thus not necessary too.
* 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-202-6/+30
| | | | In OpenBSD uptime gets fetched using sysctl now.
* battery_perc: Port to OpenBSD.Aaron Marcher2018-03-192-2/+30
| | | | In OpenBSD battery percentage gets fetched using apm now.
* README: Add list of non-portable functionsAaron Marcher2018-03-181-0/+12
|
* Build Linux-only functions only on LinuxAaron Marcher2018-03-1810-0/+20
|
* README: Add TodoAaron Marcher2018-03-181-0/+5
|
* Merge pull request #43 from SiIky/unknown_strAaron Marcher2018-02-171-1/+3
|\ | | | | Print unknown_str in case of error
| * Print unknown_str in case of errorSiIky2018-02-171-1/+3
|/ | | | | func can return NULL in case of error, but no checking is done when printing, and unknown_str wasn't being used anywhere.
* Update LICENSE year for myself.Aaron Marcher2018-01-061-1/+1
|
* 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.
* Small fixes in config.mkAaron Marcher2017-12-031-2/+2
|
* Update LICENSE for parazydAaron Marcher2017-10-241-1/+1
|
* 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-2420-40/+40
| | | | This brings us a lot more tidiness.
* Get rid of HDR variableLaslo Hunhold2017-09-181-4/+3
| | | | | | | | | | The HDR variable is used for general purpose headers, which are not given in this project. arg.h and config.h are only needed for slstatus.c, not every component $(COM:=.c). This also fixes a problem introduced in e04a3853643df1c98a451969d515d8850f138bcc, where config.h is pulled into the tarball.
* Simplify MakefileLaslo Hunhold2017-09-181-20/+1
|
* Fix missing config.h in MakefileQuentin Rameau2017-09-181-1/+4
|
* Added LICENSE statements to all source filesAaron Marcher2017-09-1721-0/+21
|
* Properly declare buf as extern and fix all unused-warningsLaslo Hunhold2017-09-173-3/+6
|
* Rewrite Makefile to accomodate file splitLaslo Hunhold2017-09-173-45/+131
|