summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* wifi: fixed disconnected wifi status on openbsdTobias Tschinkowitz2018-05-311-0/+7
|
* Clean up header includesAaron Marcher2018-05-3014-20/+0
| | | | | - Remove <errno.h> because related functions are in util.c now - Remove corresponding <string.h> if not used otherwise
* Update LICENSE for QuentinAaron Marcher2018-05-291-1/+1
|
* Flush the output stream instead of arbitrarily disabling bufferingQuentin Rameau2018-05-291-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-targetLaslo Hunhold2018-05-291-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.
* swap: removed unused includeTobias Tschinkowitz2018-05-291-1/+0
|