summaryrefslogtreecommitdiff
path: root/slstatus.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into masterAaron Marcher2016-12-291-11/+13
|\
| * kernel_release() coding style and position in code fixAaron Marcher2016-12-281-11/+13
| |
* | add braces to single statements so drkhsh doesn't be upsetraiz2016-12-291-1/+2
| |
* | usage(): return success if -h is called && print more appropriate usage, ↵raiz2016-12-271-6/+8
| | | | | | | | opts can't be all called at the same time, that's why a separator is required
* | whhops, my badraiz2016-12-271-1/+1
| |
* | wifi_essid: add boundary check && prevent the use of direct string literal ↵raiz2016-12-271-1/+2
| | | | | | | | as a format string in snprintf()
* | 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 ↵raiz2016-12-271-4/+4
| | | | | | | | newline after printing string stderr
* | 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
| | | | This feature was originally removed as part of 52d19f9.
* 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 ↵Aaron Marcher2016-09-181-8/+1
| | | | page version number fails
* 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 ↵Aaron Marcher2016-09-161-6/+50
| | | | moved the code to set WM_NAME to its own function as it is needed two times
* 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
|