Skip to content

andreoss/dst

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

dst

Build Status

Single-pid scalable dynamic system monitor for dwm (and others) based upon libuv.

Usage

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))))))

Dependencies

  • libuv
  • xkbfile

Compile

On Nix

nix-build .

Elsewhere

$ cmake .
$ make
$ make test

Install

On Nix

nix-env -i dst-dev -f default.nix

Elsewhere

make install

About

A single-process scalable dynamic system monitor for dwm (and others) based upon libuv.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published