yambar/modules
Daniel Eklöf 25c20e5534
module/alsa: use inotify on /dev/snd instead of a poll timeout
While waiting for the configured ALSA card to become available, use
inotify and watch for CREATE events on /dev/snd instead of
polling (using a timeout in the poll(3) call).

Note that we don’t know the actual names of the files that (will) be
created. This means:

* Every time we see a CREATE event on /dev/snd, we *try* to connect to
  ALSA. If we fail, we go back to watching /dev/snd again.
* ALSA (not yambar) will log an error message each time we fail.
2021-08-21 10:52:12 +02:00
..
alsa.c module/alsa: use inotify on /dev/snd instead of a poll timeout 2021-08-21 10:52:12 +02:00
backlight.c modules: implement description() 2021-06-20 21:15:24 +02:00
battery.c modules: implement description() 2021-06-20 21:15:24 +02:00
clock.c modules: implement description() 2021-06-20 21:15:24 +02:00
i3-common.c module/i3-common: fix compilation warning with asan 2020-07-07 14:06:29 +02:00
i3-common.h modules/sway-xkb: new module, uses sway 'input' events to expose kbd layout 2019-08-14 21:51:43 +02:00
i3-ipc.h module/i3: use our own copy of i3/ipc.h 2019-03-31 12:08:44 +02:00
i3.c module/i3: add ‘persistent’ attribute 2021-07-26 21:41:59 +02:00
label.c modules: implement description() 2021-06-20 21:15:24 +02:00
meson.build module/sway-xkb: fix name of .so file, fixes load failures when built as shared module 2020-11-25 20:41:09 +01:00
mpd.c modules: implement description() 2021-06-20 21:15:24 +02:00
network.c log: pull in log.{c,h} from foot 2021-08-15 11:41:12 +02:00
removables.c modules: implement description() 2021-06-20 21:15:24 +02:00
river.c module/river: add support for river-status v2 (‘urgent’ views) 2021-08-19 19:25:18 +02:00
script.c log: pull in log.{c,h} from foot 2021-08-15 11:41:12 +02:00
sway-xkb.c modules: implement description() 2021-06-20 21:15:24 +02:00
xkb.c modules: implement description() 2021-06-20 21:15:24 +02:00
xwindow.c modules: implement description() 2021-06-20 21:15:24 +02:00