async (multithread) status bar

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

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