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