{"id":13577087,"url":"https://github.com/PlankCipher/dwmblocks","last_synced_at":"2025-04-05T09:31:00.720Z","repository":{"id":114076682,"uuid":"384217936","full_name":"PlankCipher/dwmblocks","owner":"PlankCipher","description":"My build of dwmblocks","archived":true,"fork":false,"pushed_at":"2021-09-19T11:09:11.000Z","size":139,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T13:44:40.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlankCipher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-07-08T18:38:54.000Z","updated_at":"2023-04-01T06:02:46.000Z","dependencies_parsed_at":"2024-01-16T20:25:49.701Z","dependency_job_id":"11a0ed5e-7bbf-42b4-b4b3-8bba6a8b0d55","html_url":"https://github.com/PlankCipher/dwmblocks","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/PlankCipher%2Fdwmblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlankCipher%2Fdwmblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlankCipher%2Fdwmblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlankCipher%2Fdwmblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlankCipher","download_url":"https://codeload.github.com/PlankCipher/dwmblocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318051,"owners_count":20919448,"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":[],"created_at":"2024-08-01T15:01:17.862Z","updated_at":"2025-04-05T09:30:55.690Z","avatar_url":"https://github.com/PlankCipher.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# dwmblocks\n\nModular status monitor for dwm written in C with features including\nsignaling, clickability, cursor hinting and color.\n\n# Usage\n\n`dwmblocks`\n\n# Configuration\n\nRefer to [config.h](config.def.h). It allows addition/removal of blocks and a\nfew other configurations.\n\n\u003e `make`, the first time you run it, or `make config.h` will create config.h by\n\u003e copying [config.def.h](config.def.h).\n\n\u003e The provided blocks use siji font for icons.\n\n# Colored output and Clickability\n\n[patches](patches) folder contains two patches for dwm, one for dwm already\npatched with systray patch and the other for vanilla dwm. One of the patches,\nwhichever appropriate, is essential for dwmblocks to function properly. It will\nadd support for colored text, clickability and cursor hinting when hovering on\nclickable blocks (inspired by polybar).\n\nClickability is inspired by statuscmd patch for dwm. On clicking on text\ncorresponding to a clickable block, the program specified to handle clicks for\nthat block is executed with the first argument specifying which button was\nclicked (1 for left, 2 for middle and 3 for right).\n\nColored output is inspired by statuscolors patch for dwm. To add colors, have\nyour programs for the blocks output raw characters from `\\x0b` to `\\x1f`. `\\x0b`\nin status text switches active colorscheme to the first one in the colors array\ndefined in dwm's config.h and so on. See\n[statuscolors patch for dwm](https://dwm.suckless.org/patches/statuscolors/)\nfor more info. Keep in mind that you have to start from `\\x0b` instead of `\\x01`\nas instructed on the page.\n\n# Signaling changes\n\nTo signal a specific block to update, run `sigdwmblocks \u003csignal\u003e [\u003csigval\u003e]`.\n`\u003csigval\u003e` is optional and must be an integer. If provided, it is passed as the\nfirst argument to the program specified for updating the block.\n\n# xgetrootname\n\nA tiny program to get the current root name. May prove helpful in debugging.\n\n# Installation\n\nClone the repository and run\n```\ncd dwmblocks\nmake\nsudo make install\n```\n\n# Acknowledgements\n\nSome ideas and code was taken from other projects. Credits for those go to -\n\n* torrinfail ([original dwmblocks implementation](https://github.com/torrinfail/dwmblocks))\n* Daniel Bylinka ([statuscmd patch for dwm](https://dwm.suckless.org/patches/statuscmd/))\n* Jeremy Jay ([statuscolors patch for dwm](https://dwm.suckless.org/patches/statuscolors/))\n\n# See also\n\n* [dsblocks](https://github.com/ashish-yadav11/dsblocks) - A clone of this\n  project with the only difference being that C functions instead of external\n  programs are used to update blocks and handle clicks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPlankCipher%2Fdwmblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPlankCipher%2Fdwmblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPlankCipher%2Fdwmblocks/lists"}