Fork from suckless.org - status monitor
Simplest dwmstatus in C, inculde:
- mpd status (The playing informations, title, artist, progress)
- volume (by PulseAudio, dectect bluetooth headset)
- time and date
git clone git@github.com:Kunkgg/dwmstatus.git
cd dwmstatus
sudo make installadd dwmstatus 2>&1 >/dev/null & to .xinitrc
Make sure mpd and PulseAudio have started before dwmstatus, like this:
systemctl --user enable mpd
systemctl --user enable pulseaudio.serviceBecause this script uses C-API of mpd and PulseAudio. The PulseAudio C-API is Async. This script use a loop send requests to query sink informations. If PulseAudio hasn't worked, this script couldn't stuck in.
