summaryrefslogtreecommitdiff
path: root/slstatus.c
Commit message (Collapse)AuthorAgeFilesLines
* simplified battery_perc() a lot and removed useless options from config.def.hAaron Marcher2016-09-131-14/+16
|
* set old WM_NAME content before exitingAaron Marcher2016-09-131-1/+6
|
* sighandle forgot constAaron Marcher2016-09-131-1/+1
|
* signal handling to exit gracefully + small coding style fixesAaron Marcher2016-09-131-4/+21
|
* simplify status_string clearingAaron Marcher2016-09-131-1/+1
|
* Fixes issue #15. Forgot to close() a socket in wifi_essid()...Aaron Marcher2016-09-131-0/+2
|
* coding style (global variables)Aaron Marcher2016-09-121-2/+1
|
* Merge pull request #14 from R41z/masterAaron Marcher2016-09-121-8/+16
|\ | | | | cpu_perc() workaround
| * fixed (hopefully) the vol_perc() functionAli H. Fardan2016-09-111-4/+4
| |
| * fixed cpu_perc() stupidity && added some useful comment for drkh5hAli H. Fardan2016-09-111-4/+12
| |
* | fixed wifi_perc() typoAaron Marcher2016-09-121-1/+1
|/
* brought back update intervalAaron Marcher2016-09-091-1/+3
|
* removed more unneeded commentsAaron Marcher2016-09-091-2/+0
|
* fixed username function (wtf happened here?)Aaron Marcher2016-09-091-4/+5
|
* fixed run_command behaviour for emtpy command output (uninitialized)Aaron Marcher2016-09-091-1/+1
|
* coding style fixesAaron Marcher2016-09-091-0/+12
|
* use warn[x]() instead of long fprintf()sAli H. Fardan2016-09-081-49/+26
|
* used ccat() from concat.h for string concatenationAli H. Fardan2016-09-081-25/+16
|
* fixed some mistakesAli H. Fardan2016-09-051-3/+3
|
* what kind of weed is that?Ali H. Fardan2016-09-051-4/+2
|
* bringed back the loopAli H. Fardan2016-09-051-14/+16
|
* imported a new vol_perc() function, this should fix #12 (UNTESTED)Ali H. Fardan2016-09-051-35/+22
|
* added a tool for resetting the status bar && worked around some issues && ↵Ali H. Fardan2016-09-051-101/+47
| | | | removed the makefile (we need a better one)
* added daemonization supportAli H. Fardan2016-09-041-27/+75
|
* removed UPDATE_INTERVAL, it is neat to have it but removing it is a tradeoff ↵Ali H. Fardan2016-09-031-2/+0
| | | | worth making, because the clock would act weird if this used to work with cpu_perc().
* removed setstatus() && simplified main()Ali H. Fardan2016-09-021-16/+2
|
* NOTREACHED commentAli H. Fardan2016-09-011-0/+7
|
* simplified gid()Ali H. Fardan2016-09-011-2/+1
|
* simplified uid() and fixed username()Ali H. Fardan2016-09-011-25/+6
|
* removed unnecessary typecast and added more commentsAli H. Fardan2016-09-011-2/+6
|
* removed unneeded headersAli H. Fardan2016-09-011-2/+0
|
* opened the file before the path concatenates, what an idiotAli H. Fardan2016-08-311-1/+3
|
* forgot to give entropy() some candy tooAli H. Fardan2016-08-311-1/+2
|
* slow down boy! you opened the file too early!Ali H. Fardan2016-08-311-1/+2
|
* 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
|