{"id":20963804,"url":"https://github.com/mitjafelicijan/i3blocks","last_synced_at":"2026-04-24T17:31:47.294Z","repository":{"id":180545341,"uuid":"665312054","full_name":"mitjafelicijan/i3blocks","owner":"mitjafelicijan","description":"Minimal i3blocks indicators","archived":false,"fork":false,"pushed_at":"2023-07-14T07:06:16.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T02:53:57.440Z","etag":null,"topics":["i3","i3blocks","i3wm"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitjafelicijan.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-11T23:49:22.000Z","updated_at":"2023-07-18T09:40:22.000Z","dependencies_parsed_at":"2023-12-03T15:00:18.038Z","dependency_job_id":null,"html_url":"https://github.com/mitjafelicijan/i3blocks","commit_stats":null,"previous_names":["mitjafelicijan/i3blocks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mitjafelicijan/i3blocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fi3blocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fi3blocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fi3blocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fi3blocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitjafelicijan","download_url":"https://codeload.github.com/mitjafelicijan/i3blocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fi3blocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32234520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["i3","i3blocks","i3wm"],"created_at":"2024-11-19T02:48:27.838Z","updated_at":"2026-04-24T17:31:47.279Z","avatar_url":"https://github.com/mitjafelicijan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot](https://github.com/mitjafelicijan/i3blocks/assets/296714/c6b68f57-56ce-4007-8264-03698cf0c339)\n\n# i3blocks and some custom scripts\n\n- CPU usage progress bar (requires: mpstat, grep, awk)\n- Memory usage progress bar (requires: free, grep, awk)\n- Disk usage progress bar (requires: df, awk, sed)\n- Nvidia GPU usage progress bar (requires: nvidia-smi)\n\n\u003e **Note**: If default width of 10 is used and used percentage for a resource is\n\u003e bellow 10% then no bars will be displayed! The bigger the width is the more\n\u003e accurate the progress bar will be.\n\n## Install and use\n\n- C compiler like GCC, Clang or tcc is required.\n\nClone the repository into `~/.config/i3blocks`.\n\n```bash\ngit clone git@github.com:mitjafelicijan/i3blocks.git ~/.config/i3blocks\ncd ~/.config/i3blocks\nmake\n\n# Before doing this check config_sample and be sure\n# you don't overwrite your existing config file.\ncp config_sample config\n```\n\nAnd restart i3 with `$mod+shift+r`. That is about it.\n\n### Available options\n\nEach command takes two **optional** arguments:\n\n- `-w 10` - width of the progress bar (default 10)\n- `-p 1` - if 1 then it also prints percentage label (default 0)\n\nExample usage of these arguments:\n\n```bash\n./cpu\t\t\t\t# will display 10 bars and no percentage label\n./cpu -w 20\t\t\t# will display 20 bars and no percentage label\n./cpu -w 20 -p 0\t# will display 20 bars and no percentage label\n./cpu -w 10 -p 1\t# will display 10 bars and percentage label\n```\n\nI use default fonts for i3 and if you will change to something different your\nprogress could look better. I just don't care that much about that and it's fine\nwith me.\n\n### Colors\n\nYou can also use custom colors for blocks by providing `color` in config file.\n\n```ini\n[cpu]\nlabel=CPU\ncolor=#00FF00\ncommand=~/.config/i3blocks/cpu -w 10\nseparator=true\ninterval=3\n```\n\n## Similar blocks\n\nCheck https://github.com/vivien/i3blocks-contrib for amazing blocks!\n\n## License\n\n[i3blocks](https://github.com/mitjafelicijan/i3blocks) was written by [Mitja\nFelicijan](https://mitjafelicijan.com) and is released under the BSD zero-clause\nlicense, see the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitjafelicijan%2Fi3blocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitjafelicijan%2Fi3blocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitjafelicijan%2Fi3blocks/lists"}