aslstatus 0.1.3 (multi-threaded slstatus)
  • C 91.6%
  • Makefile 6.8%
  • sed 1.1%
  • Shell 0.5%
Find a file
2026-01-24 03:16:30 +00:00
components Initial commit 2026-01-24 00:02:36 -03:00
lib Initial commit 2026-01-24 00:02:36 -03:00
man Initial commit 2026-01-24 00:02:36 -03:00
smart-config Initial commit 2026-01-24 00:02:36 -03:00
wiki Initial commit 2026-01-24 00:02:36 -03:00
.gitignore Initial commit 2026-01-24 00:02:36 -03:00
arg.h Initial commit 2026-01-24 00:02:36 -03:00
aslstatus.c Initial commit 2026-01-24 00:02:36 -03:00
aslstatus.h Initial commit 2026-01-24 00:02:36 -03:00
build.mk Initial commit 2026-01-24 00:02:36 -03:00
components_config.h Initial commit 2026-01-24 00:02:36 -03:00
config.h Initial commit 2026-01-24 00:02:36 -03:00
config.mk Initial commit 2026-01-24 00:02:36 -03:00
deps.mk Initial commit 2026-01-24 00:02:36 -03:00
LICENSE Initial commit 2026-01-24 00:02:36 -03:00
Makefile Initial commit 2026-01-24 00:02:36 -03:00
README.md Update README.md 2026-01-24 03:16:30 +00:00
smart-config.mk Initial commit 2026-01-24 00:02:36 -03:00
thread_helper.h Initial commit 2026-01-24 00:02:36 -03:00
X.h Initial commit 2026-01-24 00:02:36 -03:00

aslstatus

Asynchronous, multithreaded status monitor.

Note: The original aslstatus repository (https://notabug.org/dm9pZCAq/aslstatus) is currently inaccessible. This is an unmaintained fork.

Dependencies

Required:

  • pthread
  • pkg-config (build-time)

Optional:

  • libasound-dev (for ALSA volume component)
  • libxcb-dev + libxcb-xkb-dev (for X11 components)

Building

make
sudo make install

Build Options

  • AUDIO=ALSA - Audio backend: ALSA, PULSE, or empty [default: ALSA]
  • X=0 - Disable X11 support if not needed [default: 1]

Configuration

Edit config.h to customize components, intervals, and format strings.

Current configuration shows:

  • Battery state and percentage
  • CPU and RAM usage
  • Disk usage (NVME and SATA)
  • Date and time
  • Weather (via custom script)

Usage with dwl

#!/bin/sh
STATUS_FIFO="/tmp/dwlstatus"
[ -p "$STATUS_FIFO" ] || mkfifo "$STATUS_FIFO"

aslstatus -s > "$STATUS_FIFO" &
exec dwl -s "autostart commands here" < "$STATUS_FIFO"

See components_config.h for component-specific settings.