summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-27Add comment about mixer oss module to READMEdrkhsh
2022-10-27Update LICENSEdrkhsh
2022-10-27Fix keyboard_indicators() prototypeNRK
according to both the function definition and the comment in config.def.h, keyboard_indicators() should take a format string.
2022-10-27Reset sndiod initialization flag on disconnectsIngo Feinerer
If the connection is lost to the sndiod(8) daemon reset the initialization to allow for a graceful restart.
2022-10-27Fix RAM component on FreeBSDmichaelbuch12@gmail.com
The current implementation uses the wrong type for given sysctl calls leading to overflow and incorrectly reported RAM usage. The fix is to use 'unsigned int' which is what FreeBSD expects.
2022-10-27Make volume component work on FreeBSDmichaelbuch12@gmail.com
- Edit compile instructions - Reuse OpenBSD sndio implementation
2022-03-25Delete config.hRafael Marçalo
2021-08-19Updated % Representationrafa_99
2021-08-16Battery Statusrafa_99
2021-08-16Added Custom Configrafa_99
2020-11-30Update READMEAaron Marcher
2020-11-30Update LICENSEAaron Marcher
2020-11-30Add comment for FreeBSD to config.mkAaron Marcher
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)
2020-11-30Use the sioctl_open(3) OpenBSD API to access volIngo Feinerer
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
2020-11-30Add a -1 option flagDaniel Moch
Allow slstatus to be used by programs that can grab status by calling an external program on a periodic basis (e.g. tmux)
2020-11-30Handle SIGUSR1 for forced refreshesMart Lubbers
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
2020-11-30Fix temperature reporting on OpenBSDdsp
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
2020-11-30Full battery indicatorCem Keylan
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.
2020-11-30Add separator moduleRyan Kes
2019-02-17Follow International System of Units spacing rulesIngo Feinerer
2019-02-16Add OS-support notice to READMEAaron Marcher
2019-02-16Add ram and swap components on FreeBSDMichael Buch
2019-02-16cpu_perc: Check for division by zeroIngo Feinerer
2019-02-13Fix CPU frequency on OpenBSDIngo Feinerer
2019-02-13close file descriptors and fix return valuesMichael Buch
2019-02-13Add native OpenBSD support for mute/volumeIngo Feinerer
Based on functionality in dstat by Joerg Jung.
2019-02-13wifi component on FreeBSDMichael Buch
2019-02-07Add FreeBSD support for netspeeds, entropy and ip componentsMichael Buch
2019-02-05Update LICENSEAaron Marcher
2019-02-05Add support for cpu and uptime components on FreeBSDMichael Buch
2019-02-05Add FreeBSD support for temperature and battery componentsMichael Buch
2018-07-08ram: Consistency with line breaksAaron Marcher
2018-07-08Fix whitespaceAaron Marcher
2018-07-08Consistency with 80 char limit and breaksAaron Marcher
2018-07-07wifi_perc: Simplify on LinuxAaron Marcher
Remove unnecessary variable
2018-07-07Simplify format specifiers for uintmax_tAaron Marcher
2018-07-07cpu_freq: Simplify with E-notationAaron Marcher
Thanks to the FRIGN
2018-07-07cpu_freq: Change to 64 bit integersAaron Marcher
Remove unnecessary cast to size_t
2018-07-07Change uint64_t to uintmax_tAaron Marcher
2018-07-07battery: 64 bit ints on LinuxAaron Marcher
2018-07-07cpu: Use uint64_t on OpenBSDAaron Marcher
2018-07-06battery: Remove unnecessary defines for pathsAaron Marcher
2018-07-06uptime: Improve typing and sort headersAaron Marcher
2018-07-06temperature: Improve typesAaron Marcher
2018-07-06ram: Check for theoretical division by zeroAaron Marcher
2018-07-06ram: Use POSIX typesAaron Marcher
2018-07-06entropy: Use POSIX types for format specifiersAaron Marcher
2018-07-06entropy: Improve typesAaron Marcher
2018-07-06Consistent paramter naming for componentsAaron Marcher
2018-07-06slstatus.h: Fix coding styleAaron Marcher
Function declarations should include variable names. For functions with different parameters on different platfroms they are left out.