{"id":37637237,"url":"https://github.com/frsche/dwmblocksrs","last_synced_at":"2026-01-16T11:10:46.494Z","repository":{"id":213734101,"uuid":"466768631","full_name":"frsche/dwmblocksrs","owner":"frsche","description":"Statusbar for dwm written in Rust","archived":false,"fork":false,"pushed_at":"2022-09-10T22:31:07.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T02:51:13.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/frsche.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}},"created_at":"2022-03-06T14:57:10.000Z","updated_at":"2022-03-09T23:18:16.000Z","dependencies_parsed_at":"2023-12-22T18:23:32.771Z","dependency_job_id":"676d29f0-a41d-4fde-88dc-d71894ec126b","html_url":"https://github.com/frsche/dwmblocksrs","commit_stats":null,"previous_names":["frsche/dwmblocksrs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frsche/dwmblocksrs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frsche%2Fdwmblocksrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frsche%2Fdwmblocksrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frsche%2Fdwmblocksrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frsche%2Fdwmblocksrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frsche","download_url":"https://codeload.github.com/frsche/dwmblocksrs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frsche%2Fdwmblocksrs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-16T11:10:46.421Z","updated_at":"2026-01-16T11:10:46.483Z","avatar_url":"https://github.com/frsche.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"dwm statusbar heavily inspired by [dwmblocks](https://github.com/torrinfail/dwmblocks).\n\n## Features:\n- Each segment of the statusbar has an individual update interval\n- Segments can also get manually updated by sending a signal to the process\n- The statusbar is configurable through a configuration file\n- You can also implement custom segments for the statusbar ([example](https://github.com/1117x/dwmblocksrs/blob/main/examples/custom_segment.rs))\n- Color support (with the [statuscolor](https://dwm.suckless.org/patches/statuscolors/) patch)\n\n## Example config:\n```yaml\n# default separator that all segments use\nleft_separator: \"  \"\n# scripts are expected to be in this folder\nscript_dir: \"~/.status_scripts\"\n\n# signal that updates all the segments at once\nupdate_all_signal: 0\n\n# a mapping of the colors used in the config\n# see section 'Colors' below\ncolors:\n      green: 10\n      red: 11\n\n# default colors\n# other options are left_separator_color, right_separator_color, icon_color\ntext_color: green\n\nsegments:\n      # scripts are run with sh\n    - script: \"volume\"\n      # this segments updates once per minute\n      update_interval: 60\n      # or when the signal SIGRTMIN+1 comes\n      # bind `pkill -RTMIN+1 dwmblocksrs` to your volume shortcuts\n      signals: [1]\n\n    - script: \"battery\"\n      update_interval: 10\n      # this segment is hidden when the script returns an empty string\n      hide_if_empty: true\n\n    - program: \"date\"\n      args: [\"+%a. %d. %B %Y\"]\n      update_interval: 60\n      # icons are displayed to the left of the output\n      icon: \"  \"\n\n    - program: \"date\"\n      args: [\"+%H:%M\"]\n      update_interval: 60\n      icon: \" \"\n      # the default left separator gets overwritten\n      left_separator: \" \"\n      # as well as the default colors\n      text_color: red\n      icon_color: red\n\n```\n\nRun the statusbar with `dwmblocksrs -c example_config.yaml` or move the config file to `~/.config/dwmblocksrs/dwmblocksrs.yaml`.\n\nThe above config file produces the following statusbar in dwm:\n\n![220310-0012-20](https://user-images.githubusercontent.com/35305292/157554869-0dbf84bb-f2c1-447c-aa1f-2e23029dd12b.png)\n\n(the battery segment is hidden because the script outputs an empty string)\n\n## Colors\n\nIn the example above, two colors are defined. The values these numbers are mapped to are defined in the dwm config.h file. See [statuscolor](https://dwm.suckless.org/patches/statuscolors/) for better explanation.\n\nColors are completly optional, and dwmblocksrs also works without the statuscolor patch in dwm. Besides that, the color-bytes explained in the statuscolor patch can also be manually generated from the script of a segment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrsche%2Fdwmblocksrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrsche%2Fdwmblocksrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrsche%2Fdwmblocksrs/lists"}