slstatus/components
Ingo Feinerer 9ac721c23f Use the sioctl_open(3) OpenBSD API to access vol
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-30 21:24:33 +01:00
..
battery.c Full battery indicator 2020-11-30 21:23:26 +01:00
cpu.c cpu_perc: Check for division by zero 2019-02-16 16:56:55 +01:00
datetime.c Add warn() and die() 2018-05-18 11:13:05 +02:00
disk.c Consistent paramter naming for components 2018-07-06 08:08:48 +02:00
entropy.c Add FreeBSD support for netspeeds, entropy and ip components 2019-02-07 12:23:01 +01:00
hostname.c Clean up header includes 2018-05-30 19:35:37 +02:00
ip.c Add FreeBSD support for netspeeds, entropy and ip components 2019-02-07 12:23:01 +01:00
kernel_release.c Clean up header includes 2018-05-30 19:35:37 +02:00
keyboard_indicators.c Add flexible formatting to keyboard_indicators. 2018-06-04 14:06:11 +02:00
keymap.c Refactor keymap.c 2018-05-23 19:56:16 +02:00
load_avg.c Remove fmt from load_avgs for consistency 2018-05-21 14:14:45 +02:00
netspeeds.c Add FreeBSD support for netspeeds, entropy and ip components 2019-02-07 12:23:01 +01:00
num_files.c Consistent paramter naming for components 2018-07-06 08:08:48 +02:00
ram.c Add ram and swap components on FreeBSD 2019-02-16 16:58:34 +01:00
run_command.c Clean up header includes 2018-05-30 19:35:37 +02:00
separator.c Add separator module 2020-11-30 21:15:13 +01:00
swap.c Add ram and swap components on FreeBSD 2019-02-16 16:58:34 +01:00
temperature.c Fix temperature reporting on OpenBSD 2020-11-30 21:23:48 +01:00
uptime.c Add support for cpu and uptime components on FreeBSD 2019-02-05 09:31:06 +01:00
user.c Clean up header includes 2018-05-30 19:35:37 +02:00
volume.c Use the sioctl_open(3) OpenBSD API to access vol 2020-11-30 21:24:33 +01:00
wifi.c close file descriptors and fix return values 2019-02-13 15:23:04 +01:00