summaryrefslogtreecommitdiff
path: root/slstatus.c
AgeCommit message (Collapse)Author
2016-09-09fixed username function (wtf happened here?)Aaron Marcher
2016-09-09fixed run_command behaviour for emtpy command output (uninitialized)Aaron Marcher
2016-09-09coding style fixesAaron Marcher
2016-09-08use warn[x]() instead of long fprintf()sAli H. Fardan
2016-09-08used ccat() from concat.h for string concatenationAli H. Fardan
2016-09-05fixed some mistakesAli H. Fardan
2016-09-05what kind of weed is that?Ali H. Fardan
2016-09-05bringed back the loopAli H. Fardan
2016-09-05imported a new vol_perc() function, this should fix #12 (UNTESTED)Ali H. Fardan
2016-09-05added a tool for resetting the status bar && worked around some issues && ↵Ali H. Fardan
removed the makefile (we need a better one)
2016-09-04added daemonization supportAli H. Fardan
2016-09-03removed UPDATE_INTERVAL, it is neat to have it but removing it is a tradeoff ↵Ali H. Fardan
worth making, because the clock would act weird if this used to work with cpu_perc().
2016-09-02removed setstatus() && simplified main()Ali H. Fardan
2016-09-01NOTREACHED commentAli H. Fardan
2016-09-01simplified gid()Ali H. Fardan
2016-09-01simplified uid() and fixed username()Ali H. Fardan
2016-09-01removed unnecessary typecast and added more commentsAli H. Fardan
2016-09-01removed unneeded headersAli H. Fardan
2016-08-31opened the file before the path concatenates, what an idiotAli H. Fardan
2016-08-31forgot to give entropy() some candy tooAli H. Fardan
2016-08-31slow down boy! you opened the file too early!Ali H. Fardan
2016-08-30got rid of conditional assignments && improved the error messages to output ↵Ali H. Fardan
more info && added bound checks for fscanf() in hostname() (a dirty hack) && fixed a bug or two && some tiny style corrections
2016-08-28used a different implementation of smprintf() imported from dwmstatusAli H. Fardan
2016-08-28worked around the buffer overrun in smprintf()Ali H. Fardan
2016-08-28removed heap dependency in datetime() and simplified the functionAli H. Fardan
2016-08-28FIXME: buffer overflow warningAli H. Fardan
2016-08-28used constant string literals && remote initialization to in battery_perc() ↵Ali H. Fardan
&& trying to fix possible buffer overflow
2016-08-25removing typecasts for pcm_mixer cause more issues than beforeAli H. Fardan
2016-08-23removed unnecessary typecasts (might be a reason for ↵Ali H. Fardan
snd_mixer_selem_get_playback_volume_range bug
2016-08-21status_string can hold 4096 bytes nowAli H. Fardan
2016-08-21fixed compiler warnings in a better wayAli H. Fardan
2016-08-21fixed the code, works nowAli H. Fardan
2016-08-21(void)ed the prototypesAli H. Fardan
2016-08-21set local function as staticAli H. Fardan
2016-08-21the code describes itself, there is no need to write stories in /* */Ali H. Fardan
2016-08-21braces are unneeded for one-liner if()/while()Ali H. Fardan
2016-08-21added bounds checking via secure strl*() routinesAli H. Fardan
2016-08-18suckless coding style fix -> remove slstatus.hAaron Marcher
2016-08-18added uptime functionAaron Marcher
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