summaryrefslogtreecommitdiff
path: root/slstatus.c
Commit message (Collapse)AuthorAgeFilesLines
* got rid of conditional assignments && improved the error messages to output ↵Ali H. Fardan2016-08-301-62/+93
| | | | more info && added bound checks for fscanf() in hostname() (a dirty hack) && fixed a bug or two && some tiny style corrections
* used a different implementation of smprintf() imported from dwmstatusAli H. Fardan2016-08-281-6/+12
|
* worked around the buffer overrun in smprintf()Ali H. Fardan2016-08-281-4/+5
|
* removed heap dependency in datetime() and simplified the functionAli H. Fardan2016-08-281-18/+5
|
* FIXME: buffer overflow warningAli H. Fardan2016-08-281-7/+7
|
* used constant string literals && remote initialization to in battery_perc() ↵Ali H. Fardan2016-08-281-45/+48
| | | | && trying to fix possible buffer overflow
* removing typecasts for pcm_mixer cause more issues than beforeAli H. Fardan2016-08-251-2/+2
|
* removed unnecessary typecasts (might be a reason for ↵Ali H. Fardan2016-08-231-2/+2
| | | | snd_mixer_selem_get_playback_volume_range bug
* status_string can hold 4096 bytes nowAli H. Fardan2016-08-211-1/+1
|
* fixed compiler warnings in a better wayAli H. Fardan2016-08-211-10/+0
|
* fixed the code, works nowAli H. Fardan2016-08-211-13/+19
|
* (void)ed the prototypesAli H. Fardan2016-08-211-25/+28
|
* set local function as staticAli H. Fardan2016-08-211-52/+52
|
* the code describes itself, there is no need to write stories in /* */Ali H. Fardan2016-08-211-195/+28
|
* braces are unneeded for one-liner if()/while()Ali H. Fardan2016-08-211-24/+15
|
* added bounds checking via secure strl*() routinesAli H. Fardan2016-08-211-14/+20
|
* suckless coding style fix -> remove slstatus.hAaron Marcher2016-08-181-2/+40
|
* added uptime functionAaron Marcher2016-08-181-0/+18
|
* load avgAaron Marcher2016-08-181-0/+16
|
* added configuration option for n/a textAaron Marcher2016-08-181-36/+35
|
* Added \n to all error messages.Aaron Marcher2016-08-161-16/+16
|
* Formatting commit :(Aaron Marcher2016-08-161-511/+505
| | | | | | | | | | | 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)
* simplified ram functionAaron Marcher2016-08-151-1/+0
|
* simplified wifi_essid by removing one malloc()Aaron Marcher2016-08-151-5/+1
|
* added wifi essidAaron Marcher2016-08-151-1/+42
|
* fixed strcat null possibility in main()Aaron Marcher2016-08-151-0/+4
|
* fixed strlen-bomb in run_commandAaron Marcher2016-08-151-1/+10
|
* fixed memleak in datetime()Aaron Marcher2016-08-151-0/+1
|
* void argument main()Aaron Marcher2016-08-151-1/+1
|
* Fixed alsa function + datetime functionAaron Marcher2016-08-151-7/+27
|
* Added shell command functionAaron Marcher2016-08-151-0/+26
|
* added, username, gid, uidAaron Marcher2016-06-131-0/+62
|
* added disk functions for detailsAaron Marcher2016-06-101-1/+49
|
* added memory values ram functionsAaron Marcher2016-06-101-0/+76
|
* fixed hostname function and added HOST_NAME_MAX limitAaron Marcher2016-06-101-2/+3
|
* hostname functionAaron Marcher2016-06-101-0/+23
|
* added ip address functionAaron Marcher2016-06-081-1/+45
|
* added entropyAaron Marcher2016-06-031-0/+23
|
* Easier info function namesAaron Marcher2016-03-181-30/+31
| | | | | | | | 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.
* Fix some memory leaksDaniel Walter2016-03-171-2/+6
|
* headerAaron Marcher2016-03-161-24/+2
|
* completely new system: only values in config file get updated + cleaner codeAaron Marcher2016-03-141-98/+71
|
* whitespace errorAaron Marcher2016-03-111-1/+1
|
* fixed disk percentAaron Marcher2016-03-111-3/+9
|
* Add diskusage supportDaniel Walter2016-03-111-0/+19
| | | | add support to show used disk for a given mountpoint
* Fixed locale defaulting to EnglishVincent Loupmon2016-03-101-0/+4
| | | | | | 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.
* added update_interval check to config_check()Aaron Marcher2016-03-101-1/+9
|
* fixed some small things (update_interval) interferes with get_cpu_usage() ↵Aaron Marcher2016-03-101-18/+22
| | | | and reordered)
* return n/a instead of exiting if a specific value cannot be readDaniel Walter2016-03-101-11/+11
|
* add config checks on startup for better error handlingDaniel Walter2016-03-101-0/+25
|