async (multithread) status bar

dm9pZCAq 7561791cdf README.md: update matrix room url hai 11 meses
components d3b38853ff clang-format-13.0.0, some format fixes %!s(int64=3) %!d(string=hai) anos
lib 7cfe2a84bd lib/util.h: fix percentage formatting %!s(int64=2) %!d(string=hai) anos
man 697dcf7c6b add -d option %!s(int64=3) %!d(string=hai) anos
smart-config 76a3909d47 drop BSD support %!s(int64=3) %!d(string=hai) anos
wiki 5015dcc51d wiki: COMPONENTS: remove unneeded comment %!s(int64=3) %!d(string=hai) anos
.gitignore 69f0fadcd3 add wiki %!s(int64=3) %!d(string=hai) anos
LICENSE ff14984243 added LICENSE %!s(int64=4) %!d(string=hai) anos
Makefile 9cc2706393 add `debug` and `release` targets %!s(int64=3) %!d(string=hai) anos
README.md 7561791cdf README.md: update matrix room url hai 11 meses
X.h b6bcae5cd5 fix shadowing variables in global scope %!s(int64=3) %!d(string=hai) anos
arg.h 1dfac76ee4 add better handling of arguments %!s(int64=3) %!d(string=hai) anos
aslstatus.c d3b38853ff clang-format-13.0.0, some format fixes %!s(int64=3) %!d(string=hai) anos
aslstatus.h d3b38853ff clang-format-13.0.0, some format fixes %!s(int64=3) %!d(string=hai) anos
build.mk e1cd73ca55 build.mk: fix sanitize options %!s(int64=3) %!d(string=hai) anos
components_config.h 6f9d7ead97 add cleanup function %!s(int64=3) %!d(string=hai) anos
config.h 6363654720 wiki: COMPONENTS: add more info %!s(int64=3) %!d(string=hai) anos
config.mk 157ff53543 fix compile errors with pulse %!s(int64=3) %!d(string=hai) anos
deps.mk 76a3909d47 drop BSD support %!s(int64=3) %!d(string=hai) anos
smart-config.mk 04f5eb448a smart-config: add targets filter %!s(int64=3) %!d(string=hai) anos
thread_helper.h 157ff53543 fix compile errors with pulse %!s(int64=3) %!d(string=hai) anos

README.md

ASLSTATUS


if you found any issues report it here

for all other questions, feel free to ask in matrix #aslstatus:matrix.org


demo

bspwm & lemonbar bspwm demo

dwm dwm demo

dvtm dvtm asciicast


instalation

Gentoo

avaliable in my overlay:

eselect repository enable dm9pZCAq
emerge --sync dm9pZCAq
emerge app-admin/aslstatus::dm9pZCAq

if you wanna pack aslstatus for you distro, please do so and submit PR to add it here


compile

it is successfully compiling with

  • clang
  • tcc
  • gcc

needs pkg-config for LDLIBS

you can find out more in config.mk

make options

X

add support for X (needed for dwm WM_NAME)

you may want to set it to 0 if you use aslstatus in dvtm

  • default: 1
  • dependencies:
    • libxcb-dev

XKB

add support for keyboard (needed for keymap component)

works only if X=1

  • default: 1
  • dependencies:
    • libxcb-xkb-dev

AUDIO

select audio library

  • default: ALSA
  • possible values:
    • ALSA
    • PULSE
    • '' (empty) to use sys/soundcard.h or sys/audioio.h on OpenBSD
  • dependencies:
    • libasound-dev (if AUDIO=ALSA)
    • libpulse-dev (if AUDIO=PULSE)

config

for more info about components see wiki and components_config.h


see also main wiki page, you can find some useful stuff here