Single-pid scalable dynamic system monitor for dwm (and others) based upon libuv.
dst periodically updates name of X11's root window with a report line.
For dwm it's just enough to have a dst process started.
For stumpwm root-name
should be added in *screen-mode-line-format*
explicitly.
(setf *screen-mode-line-format*
(list ".... ^>" '(:eval (root-name))))
(defun root-name ()
(let* ((screen (current-screen))
(selwin (screen-focus-window (current-screen)))
(root (screen-root screen)))
(utf8-to-string
(xlib:get-property root
:wm_name
:result-type '(vector (unsigned-byte 8))))))
- libuv
- xkbfile
On Nix
nix-build .
Elsewhere
$ cmake .
$ make
$ make test
On Nix
nix-env -i dst-dev -f default.nix
Elsewhere
make install