summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-10Reduce -o | -n to -sLaslo Hunhold
What we really want is to either output to WM_NAME or stdout. If we want just one single line, we do slstatus | head -n 1.
2017-08-10Remove d- and v-flagsLaslo Hunhold
d-flag: There's no need for that, use the &-operator or fork+exec in a non-shell-context. In the latter case you get the PID for free. v-flag: If you want to find out which version of a package is installed, consult your package manager. That's his job.
2017-08-10Convert slstatus.1 to mandoc, simplify it and remove -hLaslo Hunhold
We also change the semantics of -v to only return the version information. There is now no need for usage() to exit with anything other than 1.
2017-08-10Refactor build systemLaslo Hunhold
2017-08-10New README in plain textAaron Marcher
2017-08-10Removed TODO.mdAaron Marcher
2017-08-10Removed CONTRIBUTING.mdAaron Marcher
2017-08-10Moved contributors to LICENSEAaron Marcher
2017-08-10Copyright sign (C) is not required in LICENSEAaron Marcher
According to https://opensource.org/licenses/ISC
2017-08-10Removed .gitignore from repositoryAaron Marcher
A file outside the repository (.git/info/exclude) can replace this and suits better for this usecase.
2017-08-10new arg.h version by frignAaron Marcher
2017-08-06add num_files() function for maildirs ;)aaron marcher
2017-06-13updated readmeAaron Marcher
2017-06-13check for fgets/fscanf return valuesAaron Marcher
2017-06-13use a static buffer instead of dynamic memoryAaron Marcher
2017-06-12remove format characters from stat functionsAaron Marcher
2017-06-12add cpu_freq functionAaron Marcher
2017-06-12add battery_power functionAaron Marcher
2017-05-11added option to output only once and exit afterwardsAaron Marcher
2017-04-20enable stack protector and compile to position independent executableAaron Marcher
2017-04-20simplified and improved vol_perc()Aaron Marcher
2017-04-20fix overflow in run_command()Aaron Marcher
2017-04-20username(): get rid of unneeded uid variableAaron Marcher
2017-04-20Merge pull request #39 from stoeckmann/fgetsAaron Marcher
On success, fgets always terminates the result.
2017-04-04On success, fgets always terminates the result.Tobias Stoeckmann
If fgets succeeds, then the resulting char array is always terminated by a '\0'. No need to keep extra space, therefore sizeof(buf) is the correct argument. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2017-04-02Merge pull request #38 from stoeckmann/terminating-nulAaron Marcher
Fixed out of boundary write on long lines.
2017-04-02Fixed out of boundary write on long lines.Tobias Stoeckmann
The terminating nul character ('\0') could be written outside the boundary of the buffer which is used to read characters. If "sizeof(buffer)" characters are read, the resulting value must not be used as index, because that's an off by one. Read sizeof(buffer)-1 bytes instead. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2017-03-30loading thresholds stateAaron Marcher
2017-01-23Fixed XCloseDisplay() which is not reached in keyboard_indicators()Aaron Marcher
2017-01-16Added keyboard_indicators (Fixes #31)Aaron Marcher
2017-01-09Makefile fix and vol_perc fix for muteAaron Marcher
2017-01-09simplified MakefileAaron Marcher
2017-01-09small Makefile tweakAaron Marcher
2017-01-09Makefile: Added back config.h handling in MakefileAaron Marcher
2017-01-09Makefile: Fixes #35Aaron Marcher
2017-01-07todoAaron Marcher
2017-01-07removed ./extern/Aaron Marcher
2017-01-07removed strlcat dependency (was used only once)Aaron Marcher
2017-01-07got rid of concat.hAaron Marcher
2017-01-07saner makefile: cleaner, simpler, sucklessAaron Marcher
2017-01-07happy new year!Aaron Marcher
2017-01-07run_command: strlen() will not function if string is not null terminatedAaron Marcher
2016-12-30consistent coding style: usage() declaration, eval is a constantAaron Marcher
2016-12-30Merge pull request #34 from parazyd/masterAaron Marcher
refactor vol_perc to not depend on alsa libraries
2016-12-30Merge branch 'master' into masterparazyd
2016-12-30add vol_perc notes, add braces to singleline statementsparazyd
2016-12-29why releases for such a small project? useless and overhead!Aaron Marcher
2016-12-29#undef strlcpy not needed anymoreAaron Marcher
2016-12-29tested wifiAaron Marcher
2016-12-29Merge pull request #32 from R41z/masterAaron Marcher
several bugfixes and general improvements, see commits below.