summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add comment about mixer oss module to READMEdrkhsh2022-10-261-0/+3
|
* Update LICENSEdrkhsh2022-10-261-3/+4
|
* Reset sndiod initialization flag on disconnectsIngo Feinerer2022-10-261-0/+1
| | | | | If the connection is lost to the sndiod(8) daemon reset the initialization to allow for a graceful restart.
* Make volume component work on FreeBSDmichaelbuch12@gmail.com2022-10-263-3/+3
| | | | | - Edit compile instructions - Reuse OpenBSD sndio implementation
* Fix RAM component on FreeBSDmichaelbuch12@gmail.com2022-10-261-4/+4
| | | | | | | 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.
* Fix keyboard_indicators() prototypeNRK2022-10-261-1/+1
| | | | | according to both the function definition and the comment in config.def.h, keyboard_indicators() should take a format string.
* Update READMEAaron Marcher2020-11-301-4/+6
|
* Update LICENSEAaron Marcher2020-11-301-2/+8
|
* Add comment for FreeBSD to config.mkAaron Marcher2020-11-301-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 volIngo Feinerer2020-11-303-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 flagDaniel Moch2020-11-302-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 refreshesMart Lubbers2020-11-301-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 OpenBSDdsp2020-11-301-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 indicatorCem Keylan2020-11-301-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 moduleRyan Kes2020-11-304-0/+15
|
* Follow International System of Units spacing rulesIngo Feinerer2019-02-171-1/+1
|
* Add OS-support notice to READMEAaron Marcher2019-02-161-0/+1
|
* Add ram and swap components on FreeBSDMichael Buch2019-02-162-0/+147
|
* cpu_perc: Check for division by zeroIngo Feinerer2019-02-161-18/+27
|
* Fix CPU frequency on OpenBSDIngo Feinerer2019-02-131-2/+1
|
* close file descriptors and fix return valuesMichael Buch2019-02-131-6/+12
|
* Add native OpenBSD support for mute/volumeIngo Feinerer2019-02-134-29/+94
| | | | Based on functionality in dstat by Joerg Jung.
* wifi component on FreeBSDMichael Buch2019-02-131-3/+95
|
* Add FreeBSD support for netspeeds, entropy and ip componentsMichael Buch2019-02-073-2/+5
|
* Update LICENSEAaron Marcher2019-02-051-2/+2
|
* Add support for cpu and uptime components on FreeBSDMichael Buch2019-02-052-2/+62
|
* Add FreeBSD support for temperature and battery componentsMichael Buch2019-02-053-3/+80
|
* ram: Consistency with line breaksAaron Marcher2018-07-081-2/+4
|
* Fix whitespaceAaron Marcher2018-07-083-3/+3
|
* Consistency with 80 char limit and breaksAaron Marcher2018-07-089-82/+86
|
* wifi_perc: Simplify on LinuxAaron Marcher2018-07-071-3/+4
| | | | Remove unnecessary variable
* Simplify format specifiers for uintmax_tAaron Marcher2018-07-077-33/+30
|
* cpu_freq: Simplify with E-notationAaron Marcher2018-07-071-1/+1
| | | | Thanks to the FRIGN
* cpu_freq: Change to 64 bit integersAaron Marcher2018-07-071-2/+3
| | | | Remove unnecessary cast to size_t
* Change uint64_t to uintmax_tAaron Marcher2018-07-079-45/+45
|
* battery: 64 bit ints on LinuxAaron Marcher2018-07-071-4/+5
|
* cpu: Use uint64_t on OpenBSDAaron Marcher2018-07-071-2/+3
|
* battery: Remove unnecessary defines for pathsAaron Marcher2018-07-061-7/+5
|
* uptime: Improve typing and sort headersAaron Marcher2018-07-061-3/+7
|
* temperature: Improve typesAaron Marcher2018-07-061-3/+5
|
* ram: Check for theoretical division by zeroAaron Marcher2018-07-061-0/+4
|
* ram: Use POSIX typesAaron Marcher2018-07-061-16/+18
|
* entropy: Use POSIX types for format specifiersAaron Marcher2018-07-061-3/+3
|
* entropy: Improve typesAaron Marcher2018-07-061-1/+2
|
* Consistent paramter naming for componentsAaron Marcher2018-07-065-43/+43
|
* slstatus.h: Fix coding styleAaron Marcher2018-07-061-16/+16
| | | | | | Function declarations should include variable names. For functions with different parameters on different platfroms they are left out.
* fmt_human: Improve typesAaron Marcher2018-07-062-2/+5
| | | | size_t may not be enough, use 64 bit integers
* Add Ian Remmler to LICENSEAaron Marcher2018-06-041-0/+1
|
* Add flexible formatting to keyboard_indicators.Ian Remmler2018-06-042-11/+30
| | | | Updated for style.
* uptime: unification of the uptime function for linux/openbsdTobias Tschinkowitz2018-06-011-50/+10
|