{"id":13897720,"url":"https://github.com/ray-pH/polybar-cava","last_synced_at":"2025-07-17T14:32:39.414Z","repository":{"id":48987740,"uuid":"355979976","full_name":"ray-pH/polybar-cava","owner":"ray-pH","description":"CAVA module for polybar","archived":false,"fork":false,"pushed_at":"2024-04-27T14:10:19.000Z","size":546,"stargazers_count":91,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-25T03:33:02.925Z","etag":null,"topics":["cava","linux","music-visualisation","polybar","polybar-scripts","terminal"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ray-pH.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":"2021-04-08T16:33:13.000Z","updated_at":"2024-10-18T22:21:59.000Z","dependencies_parsed_at":"2024-04-27T15:25:10.511Z","dependency_job_id":"6f23f53b-da64-45ef-9b0c-ea6881cc1408","html_url":"https://github.com/ray-pH/polybar-cava","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ray-pH/polybar-cava","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-pH%2Fpolybar-cava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-pH%2Fpolybar-cava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-pH%2Fpolybar-cava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-pH%2Fpolybar-cava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ray-pH","download_url":"https://codeload.github.com/ray-pH/polybar-cava/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-pH%2Fpolybar-cava/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265616846,"owners_count":23798905,"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":["cava","linux","music-visualisation","polybar","polybar-scripts","terminal"],"created_at":"2024-08-06T18:03:49.935Z","updated_at":"2025-07-17T14:32:39.132Z","avatar_url":"https://github.com/ray-pH.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Simple [CAVA](https://github.com/karlstav/cava) (music visualization) module for [polybar](https://github.com/polybar/polybar). Download `cava.sh` and put it on your config or module folder.\n\n\u003cdetails\u003e\n    \u003csummary\u003eScreenshot\u003c/summary\u003e\n    \u003cimg src=\"./img/screenshot.png\" title=\"screenshot\"\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eAimated GIF\u003c/summary\u003e\n    \u003cimg src=\"./img/animated.gif\" title=\"animated\"\u003e\n\u003c/details\u003e\n\nDependencies:\n- CAVA\n- polybar\n- font that support unicode U+2581 to U+2588 (▁▂▃▄▅▆▇█). Most [unicode fonts](https://en.wikipedia.org/wiki/Unicode_font) should support these characters\n\nOn your polybar config, add these lines\n```ini\n[module/cava]\ntype = custom/script\ntail = true\nexec = $HOME/.config/polybar/cava.sh\nformat = \u003clabel\u003e\nformat-font = 5\nlabel = %output%\n```\n\nchange `exec` value to where you put `cava.sh`.\n\nYou can change the number of bar by modifying the cava config section in `cava.sh`.\n```\n[general]\nbars = 10\n```\n\nYou can also modify the label foreground like this\n```\n[module/cava]\nlabel-foreground = #594751\n```\n\u003cdetails\u003e\n    \u003csummary\u003eColor changed\u003c/summary\u003e\n    \u003cimg src=\"./img/color-changed.png\" title=\"changed color\"\u003e\n\u003c/details\u003e\n\n## Usability in other status-bar application\nThe script `cava.sh` can be used in another status-bar app like Waybar. In theory, any app that can display unicode characters can use the script.\n`cava.sh` is a standalone script that does not require polybar and just outputting text (unicode). You can even try running it directly in the terminal to see the output.\n\n\u003e [!NOTE]\n\u003e Example config for waybar is available in [https://github.com/ray-pH/waybar-cava](https://github.com/ray-pH/waybar-cava)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fray-pH%2Fpolybar-cava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fray-pH%2Fpolybar-cava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fray-pH%2Fpolybar-cava/lists"}