Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-13 | close file descriptors and fix return values | Michael Buch | |
2019-02-13 | Add native OpenBSD support for mute/volume | Ingo Feinerer | |
Based on functionality in dstat by Joerg Jung. | |||
2019-02-13 | wifi component on FreeBSD | Michael Buch | |
2019-02-07 | Add FreeBSD support for netspeeds, entropy and ip components | Michael Buch | |
2019-02-05 | Update LICENSE | Aaron Marcher | |
2019-02-05 | Add support for cpu and uptime components on FreeBSD | Michael Buch | |
2019-02-05 | Add FreeBSD support for temperature and battery components | Michael Buch | |
2018-07-08 | ram: Consistency with line breaks | Aaron Marcher | |
2018-07-08 | Fix whitespace | Aaron Marcher | |
2018-07-08 | Consistency with 80 char limit and breaks | Aaron Marcher | |
2018-07-07 | wifi_perc: Simplify on Linux | Aaron Marcher | |
Remove unnecessary variable | |||
2018-07-07 | Simplify format specifiers for uintmax_t | Aaron Marcher | |
2018-07-07 | cpu_freq: Simplify with E-notation | Aaron Marcher | |
Thanks to the FRIGN | |||
2018-07-07 | cpu_freq: Change to 64 bit integers | Aaron Marcher | |
Remove unnecessary cast to size_t | |||
2018-07-07 | Change uint64_t to uintmax_t | Aaron Marcher | |
2018-07-07 | battery: 64 bit ints on Linux | Aaron Marcher | |
2018-07-07 | cpu: Use uint64_t on OpenBSD | Aaron Marcher | |
2018-07-06 | battery: Remove unnecessary defines for paths | Aaron Marcher | |
2018-07-06 | uptime: Improve typing and sort headers | Aaron Marcher | |
2018-07-06 | temperature: Improve types | Aaron Marcher | |
2018-07-06 | ram: Check for theoretical division by zero | Aaron Marcher | |
2018-07-06 | ram: Use POSIX types | Aaron Marcher | |
2018-07-06 | entropy: Use POSIX types for format specifiers | Aaron Marcher | |
2018-07-06 | entropy: Improve types | Aaron Marcher | |
2018-07-06 | Consistent paramter naming for components | Aaron Marcher | |
2018-07-06 | slstatus.h: Fix coding style | Aaron Marcher | |
Function declarations should include variable names. For functions with different parameters on different platfroms they are left out. | |||
2018-07-06 | fmt_human: Improve types | Aaron Marcher | |
size_t may not be enough, use 64 bit integers | |||
2018-06-04 | Add Ian Remmler to LICENSE | Aaron Marcher | |
2018-06-04 | Add flexible formatting to keyboard_indicators. | Ian Remmler | |
Updated for style. | |||
2018-06-01 | uptime: unification of the uptime function for linux/openbsd | Tobias Tschinkowitz | |
2018-05-31 | wifi: fixed disconnected wifi status on openbsd | Tobias Tschinkowitz | |
2018-05-30 | Clean up header includes | Aaron Marcher | |
- Remove <errno.h> because related functions are in util.c now - Remove corresponding <string.h> if not used otherwise | |||
2018-05-29 | Update LICENSE for Quentin | Aaron Marcher | |
2018-05-29 | Flush the output stream instead of arbitrarily disabling buffering | Quentin Rameau | |
This is (arguably) more elegant and it matches Xlib output logic. Also use puts instead of printf as we don't do formating there. | |||
2018-05-29 | Don't explicitly list each component-target | Laslo Hunhold | |
I made a mistake while reading the Posix spec. In fact, the implicit prerequisite imposed by the .c.o-rule is evaluated as expected, even if the .c is not given in the target rule. This partially reverts 0efd64ffaa04715eff9c834c437562952c4531cd. | |||
2018-05-29 | swap: removed unused include | Tobias Tschinkowitz | |
2018-05-28 | Refactor swap.c to use getline() instead of buf-filling | Laslo Hunhold | |
This drops a lot of code and even though we are using a common function, the specification of only the needed things keeps it very efficient and even more efficient in memory and time than the previous solution. | |||
2018-05-28 | Update LICENSE for Tobias | Aaron Marcher | |
2018-05-28 | Fix object order and stop using a GNU make idiom | Laslo Hunhold | |
2018-05-27 | Explicitly list component-objects in the Makefile | Laslo Hunhold | |
There was a long tinkering process at farbfeld about this, but the sad truth is that it's the only way to make the Makefile truly portable. Listing it just as $(COM:=.o): config.mk $(REQ:=.h) omits the dependency on the c-file itself, which incurs that strictly speaking the object file is not depending on the source file, which is nonsense. You don't see strictly Posix compliant Makefiles around very often and most use nasty GNU-extensions everywhere. It is a good idea to go ahead as a fitting example and show how to write them portably. | |||
2018-05-27 | Use E-notation for large powers of 10 | Laslo Hunhold | |
2018-05-27 | Revert "Add basic backlight percentage support" | Aaron Marcher | |
On OpenBSD the backlight percentage cannot be retrieved in a simple way. The only two solutions we are aware of for now are: - reading from /dev/ttyC0: which isn't possible without changing permissions or running slstatus as root - linking against xcb-xrandr: which is bloat and does not work in every case appearently This reverts commit 37724ac2c3f496f4736223d0d8e5d8fecb933590 for now. | |||
2018-05-24 | ram: fixed int overflow on pagetok macro | Tobias Tschinkowitz | |
2018-05-23 | Refactor keymap.c | Laslo Hunhold | |
- Get rid of camel-casing - Don't use all-caps for variable names - use LEN()-macro - use strncmp() rather than strstr() for prefix-checking - clean up the tokenizer-loop and don't use copies - make the loop more readable by separating different breaking conditions - stricter error-checking and cleanup - store the layout directly with bprintf rather than having a separate buffer | |||
2018-05-23 | Refactor snprintf-usage in util.c | Laslo Hunhold | |
2018-05-23 | keymap: Add braces for for loop | Aaron Marcher | |
2018-05-23 | Add keymap to README | Aaron Marcher | |
2018-05-23 | Add Michael Buch to LICENSE | Aaron Marcher | |
2018-05-23 | Add keymap component | Michael Buch | |
Adding a new keymap component that will indicate the current keyboard layout (language) and variant if any was set. I use the standard X11 XKB APIs to retrieve and parse the xkb_symbols set with setxkbmap. | |||
2018-05-22 | Remove o-flag as it is redundant | Laslo Hunhold | |
Even if we extend the flag to be an n-flag with a numerical input, we already have other Unix-tools to take care of us much more flexibly, e.g. with head(1) you can easily get the first 10 outputs with slstatus -s | head -n 10, but also e.g. discard the first one and then get the consecutive 10 outputs. For the X11-root-window-name, you can limit the runtime with timeout(1) or a comparable solution. This reverts commit fa8b939990ed0648f99b0cbeba4efed807160db3. |