Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-13 | Remove unnecessary prototypes | Laslo Hunhold | |
2017-08-13 | Remove unnecessary blank lines after license-notice | Laslo Hunhold | |
2017-08-13 | Fix man page .Os field | Aaron Marcher | |
2017-08-13 | Added Makefile target for distribution tarballs. | Aaron Marcher | |
2017-08-13 | Fixed man page path | Aaron Marcher | |
According to the FHS, /usr/local/share/man is the correct man page path in this projects's case. Set this to default in config.mk. | |||
2017-08-12 | slstatus != dmenu lol | Aaron Marcher | |
2017-08-12 | Removed #define for unknown_str | Aaron Marcher | |
Debugging #define is very difficult. The performance overhead of static const char is negligible. | |||
2017-08-12 | Removed #define for update interval | Aaron Marcher | |
Debugging #define, especially in mathematical constructs is very difficult. The performance overhead of static const int is negligible. | |||
2017-08-12 | Updated LICENSE | Aaron Marcher | |
Extended Ali H. Fardan contribution dates | |||
2017-08-12 | keyboard_indicators: fix segfault when -s is specified | Ali H. Fardan | |
2017-08-11 | Fixed possible NULL-deref and removed unnecessary XOpenDisplay() | Aaron Marcher | |
- Added a check for the return value of XOpenDisplay() in main(). This fixes a possible NULL-deref. - Removed unnsecessary XOpenDisplay and XCloseDisplay from keyboard_indicators(). The ones in main() are sufficent. | |||
2017-08-11 | Add and use LEN() macro | Laslo Hunhold | |
2017-08-11 | Refactor battery_state() | Laslo Hunhold | |
2017-08-10 | Reformatted LICENSE to fit 75 character width | Aaron Marcher | |
2017-08-10 | Print usage() when we are left with arguments | Laslo Hunhold | |
2017-08-10 | Reduce -o | -n to -s | Laslo 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-10 | Remove d- and v-flags | Laslo 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-10 | Convert slstatus.1 to mandoc, simplify it and remove -h | Laslo 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-10 | Refactor build system | Laslo Hunhold | |
2017-08-10 | New README in plain text | Aaron Marcher | |
2017-08-10 | Removed TODO.md | Aaron Marcher | |
2017-08-10 | Removed CONTRIBUTING.md | Aaron Marcher | |
2017-08-10 | Moved contributors to LICENSE | Aaron Marcher | |
2017-08-10 | Copyright sign (C) is not required in LICENSE | Aaron Marcher | |
According to https://opensource.org/licenses/ISC | |||
2017-08-10 | Removed .gitignore from repository | Aaron Marcher | |
A file outside the repository (.git/info/exclude) can replace this and suits better for this usecase. | |||
2017-08-10 | new arg.h version by frign | Aaron Marcher | |
2017-08-06 | add num_files() function for maildirs ;) | aaron marcher | |
2017-06-13 | updated readme | Aaron Marcher | |
2017-06-13 | check for fgets/fscanf return values | Aaron Marcher | |
2017-06-13 | use a static buffer instead of dynamic memory | Aaron Marcher | |
2017-06-12 | remove format characters from stat functions | Aaron Marcher | |
2017-06-12 | add cpu_freq function | Aaron Marcher | |
2017-06-12 | add battery_power function | Aaron Marcher | |
2017-05-11 | added option to output only once and exit afterwards | Aaron Marcher | |
2017-04-20 | enable stack protector and compile to position independent executable | Aaron Marcher | |
2017-04-20 | simplified and improved vol_perc() | Aaron Marcher | |
2017-04-20 | fix overflow in run_command() | Aaron Marcher | |
2017-04-20 | username(): get rid of unneeded uid variable | Aaron Marcher | |
2017-04-20 | Merge pull request #39 from stoeckmann/fgets | Aaron Marcher | |
On success, fgets always terminates the result. | |||
2017-04-04 | On 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-02 | Merge pull request #38 from stoeckmann/terminating-nul | Aaron Marcher | |
Fixed out of boundary write on long lines. | |||
2017-04-02 | Fixed 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-30 | loading thresholds state | Aaron Marcher | |
2017-01-23 | Fixed XCloseDisplay() which is not reached in keyboard_indicators() | Aaron Marcher | |
2017-01-16 | Added keyboard_indicators (Fixes #31) | Aaron Marcher | |
2017-01-09 | Makefile fix and vol_perc fix for mute | Aaron Marcher | |
2017-01-09 | simplified Makefile | Aaron Marcher | |
2017-01-09 | small Makefile tweak | Aaron Marcher | |
2017-01-09 | Makefile: Added back config.h handling in Makefile | Aaron Marcher | |
2017-01-09 | Makefile: Fixes #35 | Aaron Marcher | |