async (multithread) status bar

dm9pZCAq 7561791cdf README.md: update matrix room url 10 месяцев назад
components d3b38853ff clang-format-13.0.0, some format fixes 2 лет назад
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 10 месяцев назад
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 2 лет назад
aslstatus.h d3b38853ff clang-format-13.0.0, some format fixes 2 лет назад
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 2 лет назад
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 2 лет назад

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