{"id":18026699,"url":"https://github.com/andreoss/dst","last_synced_at":"2025-04-04T19:47:58.300Z","repository":{"id":140887870,"uuid":"257400927","full_name":"andreoss/dst","owner":"andreoss","description":"A single-process scalable dynamic system monitor for dwm (and others) based upon libuv.","archived":false,"fork":false,"pushed_at":"2021-10-10T02:40:01.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T04:41:45.605Z","etag":null,"topics":["c","dwm","libuv","suckless"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreoss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-20T20:52:02.000Z","updated_at":"2023-03-19T03:58:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fb8e26d-c115-4c7a-8d21-f276f8c1a4f9","html_url":"https://github.com/andreoss/dst","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreoss%2Fdst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreoss%2Fdst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreoss%2Fdst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreoss%2Fdst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreoss","download_url":"https://codeload.github.com/andreoss/dst/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247240611,"owners_count":20906850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","dwm","libuv","suckless"],"created_at":"2024-10-30T08:07:44.562Z","updated_at":"2025-04-04T19:47:58.274Z","avatar_url":"https://github.com/andreoss.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dst\n[![Build Status](https://travis-ci.com/andreoss/dst.svg?branch=master)](https://travis-ci.com/andreoss/dst)\n\nSingle-pid scalable dynamic system monitor for dwm (and others) based upon libuv.\n\n## Usage\n\ndst periodically updates name of X11's root window with a report line.\n\nFor [dwm](https://dwm.suckless.org/ \"dwm\") it's just enough to have a dst process started.\n\nFor [stumpwm](https://stumpwm.github.io/ \"stumpwm\") `root-name` should be added in `*screen-mode-line-format*` explicitly.\n\n```lisp\n(setf *screen-mode-line-format*\n      (list \".... ^\u003e\" '(:eval (root-name))))\n(defun root-name ()\n  (let* ((screen (current-screen))\n         (selwin (screen-focus-window (current-screen)))\n         (root (screen-root screen)))\n    (utf8-to-string\n     (xlib:get-property root\n                        :wm_name\n                        :result-type '(vector (unsigned-byte 8))))))\n```\n\n## Dependencies\n- libuv\n- xkbfile\n\n## Compile\nOn Nix\n```\nnix-build .\n```\n\nElsewhere\n```\n$ cmake .\n$ make\n$ make test\n```\n\n## Install\n\nOn Nix\n```\nnix-env -i dst-dev -f default.nix\n```\n\nElsewhere\n```\nmake install\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreoss%2Fdst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreoss%2Fdst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreoss%2Fdst/lists"}