Commit Graph

21 Commits

Author SHA1 Message Date
David Demelier 37724ac2c3 Add basic backlight percentage support
At the moment linux only, but will add support for OpenBSD as well.
2018-05-22 12:40:31 +02:00
Aaron Marcher 0d05b3d13d Add network speed functions 2018-05-19 00:31:33 +02:00
Tobias Tschinkowitz 8c8326f793 Add battery_remaining function on OpenBSD
Implementation of a battery_remaining function which returns the
remaining battery time in HH:MM format. Linux function still needs
implementation.
Move common code to load_apm_power_info
2018-05-18 15:25:42 +02:00
Aaron Marcher 66a7fb16fc Remove cpu_iowait
The third value from load_avg (idle) gives us almost the same
information as cpu_iowait. Plus OpenBSD does not offer an iowait value
as Linux and thus the corresponding function would not be portable.
2018-05-06 21:11:50 +02:00
Aaron Marcher 4f5ac5d9fe Remove battery_power for various reasons
- Battery power cannot be easily gatherable via apm(4)
- IMHO it does not represent essential information
2018-05-01 21:01:25 +02:00
Laslo Hunhold eea99fc0ac
Rewrite Makefile to accomodate file split 2017-09-17 17:37:49 +02:00
Aaron Marcher 85dd971fb3 suckless coding style fix -> remove slstatus.h 2016-08-18 14:55:05 +02:00
Aaron Marcher 85a2b9b79d added uptime function 2016-08-18 13:43:18 +02:00
Aaron Marcher 83c98554ed load avg 2016-08-18 13:30:45 +02:00
Aaron Marcher ad8ab20c63 Formatting commit :(
I know formatting commits suck... And I try to avoid them.

But this commit was absolutely necessary... The coding style in this
program was not ok and not the same over the whole program.

The commit is hard to read, but this is what I changed:
- Tabs for indentation instead of spaces
- Same style over the whole program (suckless style)
2016-08-16 11:41:43 +02:00
Aaron Marcher 093f39df23 added wifi essid 2016-08-15 14:43:29 +02:00
Aaron Marcher 9078fb351d Fixed alsa function + datetime function 2016-08-15 12:26:00 +02:00
Aaron Marcher 16716dd130 added, username, gid, uid 2016-06-13 18:49:50 +02:00
Aaron Marcher fb524b6050 added disk functions for details 2016-06-10 19:13:13 +02:00
Aaron Marcher 688c2d43e2 added memory values ram functions 2016-06-10 18:46:47 +02:00
Aaron Marcher 2e72b212d3 hostname function 2016-06-10 15:53:07 +02:00
Aaron Marcher 67203c6660 added ip address function 2016-06-08 09:42:32 +02:00
Aaron Marcher 5a943fa59c added entropy 2016-06-03 13:04:15 +02:00
Aaron Marcher 02af858a35 Easier info function names
All the info function names started with "get_", which I removed to make
it easier for the user to configure the program to its needs.
Additionally I renamed some functions (e.g. get_ram_usage) to better
names, making it easier to extend the program with ram usage / total
functions.
2016-03-18 16:15:05 +01:00
Aaron Marcher bc12a40dec added license info to slstatus.h 2016-03-16 09:01:07 +01:00
Aaron Marcher ace0aa15bf header 2016-03-16 08:45:19 +01:00