summaryrefslogtreecommitdiff
path: root/slstatus.c
Commit message (Collapse)AuthorAgeFilesLines
* refactor vol_perc to not depend on alsa librariesparazyd2016-12-281-30/+15
|
* 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
|
* * != **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
| |
| * simplified vol_perc() (and with that config.def.h is super clean)Aaron Marcher2016-09-131-2/+2
| |
| * lol, battery_perc() is even simpler, fuck this shit :DAaron Marcher2016-09-131-23/+6
| |
| * 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
| |
* | subtraction is unneededAli H. Fardan2016-09-121-1/+1
|/
* 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
| |