summaryrefslogtreecommitdiff
path: root/slstatus.h
AgeCommit message (Collapse)Author
2022-10-27Fix keyboard_indicators() prototypeNRK
according to both the function definition and the comment in config.def.h, keyboard_indicators() should take a format string.
2020-11-30Add separator moduleRyan Kes
2018-07-06Consistent paramter naming for componentsAaron Marcher
2018-07-06slstatus.h: Fix coding styleAaron Marcher
Function declarations should include variable names. For functions with different parameters on different platfroms they are left out.
2018-05-27Revert "Add basic backlight percentage support"Aaron Marcher
On OpenBSD the backlight percentage cannot be retrieved in a simple way. The only two solutions we are aware of for now are: - reading from /dev/ttyC0: which isn't possible without changing permissions or running slstatus as root - linking against xcb-xrandr: which is bloat and does not work in every case appearently This reverts commit 37724ac2c3f496f4736223d0d8e5d8fecb933590 for now.
2018-05-23Add keymap componentMichael Buch
Adding a new keymap component that will indicate the current keyboard layout (language) and variant if any was set. I use the standard X11 XKB APIs to retrieve and parse the xkb_symbols set with setxkbmap.
2018-05-22Add basic backlight percentage supportDavid Demelier
At the moment linux only, but will add support for OpenBSD as well.
2018-05-19Add network speed functionsAaron Marcher
2018-05-18Add battery_remaining function on OpenBSDTobias Tschinkowitz
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-06Remove cpu_iowaitAaron Marcher
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-01Remove battery_power for various reasonsAaron Marcher
- Battery power cannot be easily gatherable via apm(4) - IMHO it does not represent essential information
2017-09-17Rewrite Makefile to accomodate file splitLaslo Hunhold
2016-08-18suckless coding style fix -> remove slstatus.hAaron Marcher
2016-08-18added uptime functionAaron Marcher
2016-08-18load avgAaron Marcher
2016-08-16Formatting commit :(Aaron Marcher
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-15added wifi essidAaron Marcher
2016-08-15Fixed alsa function + datetime functionAaron Marcher
2016-06-13added, username, gid, uidAaron Marcher
2016-06-10added disk functions for detailsAaron Marcher
2016-06-10added memory values ram functionsAaron Marcher
2016-06-10hostname functionAaron Marcher
2016-06-08added ip address functionAaron Marcher
2016-06-03added entropyAaron Marcher
2016-03-18Easier info function namesAaron Marcher
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-16added license info to slstatus.hAaron Marcher
2016-03-16headerAaron Marcher