System Montitoring and Ordered Logging PROGram.
This is pretty much similar to another, very well known, open source project called slstatus.
This program runs different procedures (logger) in seperate threads and outputs the values in an ordered manner to stdout.
sudo make install
build using go build
.
I personally use this to set the WM_NAME
attribute of the root X11 window, which is then read and displayed by my statusbar: clubar (similar to dwm's statusbar).
Example:
smolprog | xargs -i xsetroot -name {}