async (multithread) status bar

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

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