summaryrefslogtreecommitdiff
path: root/slstatus.c
Commit message (Expand)AuthorAgeFilesLines
* wifi_essid: add boundary check && prevent the use of direct string literal as...raiz2016-12-271-1/+2
* don't allow the use of perc if uninitializedraiz2016-12-271-4/+4
* remove misleading commentraiz2016-12-271-4/+0
* get rid of set_status() since it's only used onceraiz2016-12-271-10/+3
* allow the use of %* symbols in UNKNOWN_STRraiz2016-12-271-35/+35
* add extra error tests to swap_*() && fix bytes_read bugraiz2016-12-271-39/+38
* swap_*(): add more error testsraiz2016-12-271-3/+16
* fix delay in a cleaner wayraiz2016-12-271-4/+9
* remove newlines from warn() in swap_*(), those functions already print a newl...raiz2016-12-271-4/+4
* inititalize run_command()'s buf to UNKNOWN_STR by defaultraiz2016-12-271-1/+1
* remove newline character from run_command() output accuratelyraiz2016-12-271-1/+5
* strtok() has no effect on buf && fgets() should have the full buffer lengthraiz2016-12-271-2/+1
* whhopsraiz2016-12-181-1/+0
* remove unused strlcpy() and reduce the size of output bufferraiz2016-12-181-2/+3
* Add "uname -r" functionalityMike Coddington2016-11-161-0/+12
* swap: Print UNKNOWN_STR if no swap is allocatedJody Leonard2016-10-151-7/+22
* Add functions for measuring swapJody Leonard2016-10-151-0/+128
* vol_perc: Return "mute" when mixer is mutedJody Leonard2016-10-131-1/+5
* add setlocale() (mostly for datetime function)Aaron Marcher2016-10-101-0/+3
* check daemon() return valueAaron Marcher2016-10-101-2/+2
* fixed run_command()Aaron Marcher2016-10-101-2/+4
* fixed run_command()Aaron Marcher2016-10-101-2/+2
* removed unnecessary fp, shorter return 0 and fixed compiler warning in vol_percAaron Marcher2016-10-091-4/+3
* hostname: use POSIX routine to get hostname rather than reading from procfsAli H. Fardan2016-10-081-6/+2
* vol_perc: return zero if the value of max is set to zerouser2016-10-081-1/+4
* braces for one line statements in smprintf()Aaron Marcher2016-09-181-1/+2
* shorter copyright notice and moved back VERSION and _GNU_SOURCE as the man pa...Aaron Marcher2016-09-181-8/+1
* several changesAli H. Fardan2016-09-181-6/+11
* suckless coding style -> added back function prototypes argument variable namesAaron Marcher2016-09-181-16/+16
* added -v command line optionAaron Marcher2016-09-181-1/+4
* simpler usageAaron Marcher2016-09-181-4/+1
* do not exit on failed smprintfAaron Marcher2016-09-181-1/+1
* n/a for run_command()Aaron Marcher2016-09-171-1/+1
* fuck newlinesAaron Marcher2016-09-171-2/+0
* moved headers to externAaron Marcher2016-09-171-4/+4
* shorter namesAaron Marcher2016-09-171-2/+2
* only open and close display if output type is dwmAaron Marcher2016-09-171-3/+4
* coding style fixes + better var namesAaron Marcher2016-09-171-134/+131
* added daemonization, output possibility to console (for other programs) and m...Aaron Marcher2016-09-161-6/+50
* fixed run_command()Aaron Marcher2016-09-141-1/+1
* variable initialization is backAli H. Fardan2016-09-141-1/+1
* simplified run_command()Ali H. Fardan2016-09-141-12/+4
* improved hostname()Ali H. Fardan2016-09-141-3/+1
* hostname() null terminaiton subtraction *is* neededAaron Marcher2016-09-141-1/+1
* malloc sucks, you know?Ali H. Fardan2016-09-141-6/+0
* * != **Ali H. Fardan2016-09-141-2/+2
* minor improvements and memory leak fixAli H. Fardan2016-09-141-11/+7
* Merge branch 'master' of https://github.com/drkh5h/slstatusAli H. Fardan2016-09-141-23/+64
|\
| * battery_state() function addedAaron Marcher2016-09-131-0/+32
| * fixed vol_perc() typo and added % sign againAaron Marcher2016-09-131-4/+4