Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix keyboard_indicators() prototype | NRK | 2022-10-26 | 1 | -1/+1 |
| | | | | | according to both the function definition and the comment in config.def.h, keyboard_indicators() should take a format string. | ||||
* | Update README | Aaron Marcher | 2020-11-30 | 1 | -4/+6 |
| | |||||
* | Update LICENSE | Aaron Marcher | 2020-11-30 | 1 | -2/+8 |
| | |||||
* | Add comment for FreeBSD to config.mk | Aaron Marcher | 2020-11-30 | 1 | -0/+1 |
| | | | | | | | Apparently `-lkvm` is needed for swap on FreeBSD Thanks to Micheal Buch and Jason Smith (See thread https://lists.suckless.org/dev/1907/33594.html) | ||||
* | Use the sioctl_open(3) OpenBSD API to access vol | Ingo Feinerer | 2020-11-30 | 3 | -51/+161 |
| | | | | | | | | | | | | | | | Starting with OpenBSD 6.7 regular users cannot access raw audio devices anymore, for improved security. Instead use the sioctl_open(3) API to access and manipulate audio controls exposed by sndiod(8). On the first call a permanent connection is established with the running sndiod daemon, and call-back functions are registered which are triggered when audio controls are changed (e.g., a USB headset is attached) or when the volume is modified. On subsequent calls we poll for changes; if there are no volume changes this costs virtually nothing. Joint work with Alexandre Ratchov | ||||
* | Add a -1 option flag | Daniel Moch | 2020-11-30 | 2 | -4/+10 |
| | | | | | Allow slstatus to be used by programs that can grab status by calling an external program on a periodic basis (e.g. tmux) | ||||
* | Handle SIGUSR1 for forced refreshes | Mart Lubbers | 2020-11-30 | 1 | -4/+5 |
| | | | | | | At some point one might want to force a refresh for example after checking email or changing the volume. Sending a SIGUSR1 achieves this now | ||||
* | Fix temperature reporting on OpenBSD | dsp | 2020-11-30 | 1 | -1/+1 |
| | | | | | | On OpenBSD although the formula is correct due to integer division a temperature of for example 54 celsius appears as 5. this patch first treats it as a floating point op before retaining the non decimal digits | ||||
* | Full battery indicator | Cem Keylan | 2020-11-30 | 1 | -0/+1 |
| | | | | | | When you reach full charge the symbol would change to a question mark "?" as "Full" was not defined, now it changes to an "o" instead. | ||||
* | Add separator module | Ryan Kes | 2020-11-30 | 4 | -0/+15 |
| | |||||
* | Follow International System of Units spacing rules | Ingo Feinerer | 2019-02-17 | 1 | -1/+1 |
| | |||||
* | Add OS-support notice to README | Aaron Marcher | 2019-02-16 | 1 | -0/+1 |
| | |||||
* | Add ram and swap components on FreeBSD | Michael Buch | 2019-02-16 | 2 | -0/+147 |
| | |||||
* | cpu_perc: Check for division by zero | Ingo Feinerer | 2019-02-16 | 1 | -18/+27 |
| | |||||
* | Fix CPU frequency on OpenBSD | Ingo Feinerer | 2019-02-13 | 1 | -2/+1 |
| | |||||
* | close file descriptors and fix return values | Michael Buch | 2019-02-13 | 1 | -6/+12 |
| | |||||
* | Add native OpenBSD support for mute/volume | Ingo Feinerer | 2019-02-13 | 4 | -29/+94 |
| | | | | Based on functionality in dstat by Joerg Jung. | ||||
* | wifi component on FreeBSD | Michael Buch | 2019-02-13 | 1 | -3/+95 |
| | |||||
* | Add FreeBSD support for netspeeds, entropy and ip components | Michael Buch | 2019-02-07 | 3 | -2/+5 |
| | |||||
* | Update LICENSE | Aaron Marcher | 2019-02-05 | 1 | -2/+2 |
| | |||||
* | Add support for cpu and uptime components on FreeBSD | Michael Buch | 2019-02-05 | 2 | -2/+62 |
| | |||||
* | Add FreeBSD support for temperature and battery components | Michael Buch | 2019-02-05 | 3 | -3/+80 |
| | |||||
* | ram: Consistency with line breaks | Aaron Marcher | 2018-07-08 | 1 | -2/+4 |
| | |||||
* | Fix whitespace | Aaron Marcher | 2018-07-08 | 3 | -3/+3 |
| | |||||
* | Consistency with 80 char limit and breaks | Aaron Marcher | 2018-07-08 | 9 | -82/+86 |
| | |||||
* | wifi_perc: Simplify on Linux | Aaron Marcher | 2018-07-07 | 1 | -3/+4 |
| | | | | Remove unnecessary variable | ||||
* | Simplify format specifiers for uintmax_t | Aaron Marcher | 2018-07-07 | 7 | -33/+30 |
| | |||||
* | cpu_freq: Simplify with E-notation | Aaron Marcher | 2018-07-07 | 1 | -1/+1 |
| | | | | Thanks to the FRIGN | ||||
* | cpu_freq: Change to 64 bit integers | Aaron Marcher | 2018-07-07 | 1 | -2/+3 |
| | | | | Remove unnecessary cast to size_t | ||||
* | Change uint64_t to uintmax_t | Aaron Marcher | 2018-07-07 | 9 | -45/+45 |
| | |||||
* | battery: 64 bit ints on Linux | Aaron Marcher | 2018-07-07 | 1 | -4/+5 |
| | |||||
* | cpu: Use uint64_t on OpenBSD | Aaron Marcher | 2018-07-07 | 1 | -2/+3 |
| | |||||
* | battery: Remove unnecessary defines for paths | Aaron Marcher | 2018-07-06 | 1 | -7/+5 |
| | |||||
* | uptime: Improve typing and sort headers | Aaron Marcher | 2018-07-06 | 1 | -3/+7 |
| | |||||
* | temperature: Improve types | Aaron Marcher | 2018-07-06 | 1 | -3/+5 |
| | |||||
* | ram: Check for theoretical division by zero | Aaron Marcher | 2018-07-06 | 1 | -0/+4 |
| | |||||
* | ram: Use POSIX types | Aaron Marcher | 2018-07-06 | 1 | -16/+18 |
| | |||||
* | entropy: Use POSIX types for format specifiers | Aaron Marcher | 2018-07-06 | 1 | -3/+3 |
| | |||||
* | entropy: Improve types | Aaron Marcher | 2018-07-06 | 1 | -1/+2 |
| | |||||
* | Consistent paramter naming for components | Aaron Marcher | 2018-07-06 | 5 | -43/+43 |
| | |||||
* | slstatus.h: Fix coding style | Aaron Marcher | 2018-07-06 | 1 | -16/+16 |
| | | | | | | Function declarations should include variable names. For functions with different parameters on different platfroms they are left out. | ||||
* | fmt_human: Improve types | Aaron Marcher | 2018-07-06 | 2 | -2/+5 |
| | | | | size_t may not be enough, use 64 bit integers | ||||
* | Add Ian Remmler to LICENSE | Aaron Marcher | 2018-06-04 | 1 | -0/+1 |
| | |||||
* | Add flexible formatting to keyboard_indicators. | Ian Remmler | 2018-06-04 | 2 | -11/+30 |
| | | | | Updated for style. | ||||
* | uptime: unification of the uptime function for linux/openbsd | Tobias Tschinkowitz | 2018-06-01 | 1 | -50/+10 |
| | |||||
* | wifi: fixed disconnected wifi status on openbsd | Tobias Tschinkowitz | 2018-05-31 | 1 | -0/+7 |
| | |||||
* | Clean up header includes | Aaron Marcher | 2018-05-30 | 14 | -20/+0 |
| | | | | | - Remove <errno.h> because related functions are in util.c now - Remove corresponding <string.h> if not used otherwise | ||||
* | Update LICENSE for Quentin | Aaron Marcher | 2018-05-29 | 1 | -1/+1 |
| | |||||
* | Flush the output stream instead of arbitrarily disabling buffering | Quentin Rameau | 2018-05-29 | 1 | -7/+4 |
| | | | | | This is (arguably) more elegant and it matches Xlib output logic. Also use puts instead of printf as we don't do formating there. | ||||
* | Don't explicitly list each component-target | Laslo Hunhold | 2018-05-29 | 1 | -21/+1 |
| | | | | | | | | 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. |