summaryrefslogtreecommitdiff
path: root/slstatus.c
AgeCommit message (Collapse)Author
2016-08-18load avgAaron Marcher
2016-08-18added configuration option for n/a textAaron Marcher
2016-08-16Added \n to all error messages.Aaron 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-15simplified ram functionAaron Marcher
2016-08-15simplified wifi_essid by removing one malloc()Aaron Marcher
2016-08-15added wifi essidAaron Marcher
2016-08-15fixed strcat null possibility in main()Aaron Marcher
2016-08-15fixed strlen-bomb in run_commandAaron Marcher
2016-08-15fixed memleak in datetime()Aaron Marcher
2016-08-15void argument main()Aaron Marcher
2016-08-15Fixed alsa function + datetime functionAaron Marcher
2016-08-15Added shell command 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-10fixed hostname function and added HOST_NAME_MAX limitAaron 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-17Fix some memory leaksDaniel Walter
2016-03-16headerAaron Marcher
2016-03-14completely new system: only values in config file get updated + cleaner codeAaron Marcher
2016-03-11whitespace errorAaron Marcher
2016-03-11fixed disk percentAaron Marcher
2016-03-11Add diskusage supportDaniel Walter
add support to show used disk for a given mountpoint
2016-03-10Fixed locale defaulting to EnglishVincent Loupmon
Changed get_datetime() a bit so it respects the user-configured locale (to use time formats with strings for days, months etc.) Same commit as last time, except it merges.
2016-03-10added update_interval check to config_check()Aaron Marcher
2016-03-10fixed some small things (update_interval) interferes with get_cpu_usage() ↵Aaron Marcher
and reordered)
2016-03-10return n/a instead of exiting if a specific value cannot be readDaniel Walter
2016-03-10add config checks on startup for better error handlingDaniel Walter
2016-03-10add update_intervalDaniel Walter
add a short sleep to reduce load
2016-03-10simplify smprintf by using vasprintfDaniel Walter
2016-03-10Merge pull request #5 from Vlaix/masterAaron Marcher
Fixed small buffer in get_datetime()
2016-03-10Fixed small buffer in get_datetime()Vincent Loupmon
The buffer being hardcoded to 19 (the size expected from the default time format), strftime() would fail on any format returning a longer buffer. Changed it from 19 to 64 to accomodate longer formats.
2016-03-10small changes (var names)Aaron Marcher
2016-03-09put everything in logical orderAaron Marcher
2016-03-09Changed RAM calculation formula.Vincent Loupmon
Former : MemTotal - MemAvailable New : (MemTotal - MemFree) - (Buffers + Cached)
2016-03-09changed to easier variable namesAaron Marcher
2016-03-09changed to 4 spaces indentation (2 are not enough)Aaron Marcher
2016-03-09Fixed broken wifiVincent Loupmon
Fixed indentation Removed trailig white spaces
2016-03-08fixed some memory leaksRoy Freytag
2016-03-08fixed tabs xDAaron Marcher
2016-03-07variable namesAaron Marcher
2016-03-07commented and reorderedAaron Marcher
2016-03-05revised everythingAaron Marcher
2016-03-04added config.def.h handling and fixed typoAaron Marcher
2016-03-04initial commitAaron Marcher