{"id":24334547,"url":"https://github.com/codemicro/bar","last_synced_at":"2025-07-13T12:03:09.768Z","repository":{"id":38414613,"uuid":"462033966","full_name":"codemicro/bar","owner":"codemicro","description":"[mirror] i3bar compatible status bar","archived":false,"fork":false,"pushed_at":"2023-12-24T02:13:18.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T23:22:35.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/codemicro.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-02-21T21:14:59.000Z","updated_at":"2022-09-18T08:42:21.000Z","dependencies_parsed_at":"2023-12-24T03:19:21.248Z","dependency_job_id":"32dd4bdb-2ee1-452d-935f-b4aca4b88b58","html_url":"https://github.com/codemicro/bar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemicro/bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2Fbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2Fbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2Fbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2Fbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemicro","download_url":"https://codeload.github.com/codemicro/bar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemicro%2Fbar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265136990,"owners_count":23716778,"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":"2025-01-18T04:17:08.634Z","updated_at":"2025-07-13T12:03:09.492Z","avatar_url":"https://github.com/codemicro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdmbar for i3wm\n\n*i3bar compatible status bar*\n\n---\n\nThis is a i3wm status bar that's built as a toy project. It started off pretty basic (I've since added click event support and support for partial updates), doesn't have many features and isn't very configurable unless you want to edit the source and recompile it.\n\nThis interacts with i3 using the [i3bar input protocol](https://i3wm.org/docs/i3bar-protocol.html). i3 versions earlier than v4.3 are not supported.\n\n### Features\n\n* Supports click events\n* Supports partial refreshes\n* SIGUSR1 forces a refresh\n* It has colours\n* Sometimes it breaks\n\n### Included providers\n\n* `AudioPlayer` - show the currently playing song\n* `Battery` - show the current battery charge status and provide alerts if it leaves set boundaries\n* `CPU` - show CPU load and provide alerts if it leaves set boundaries\n* `DateTime` - show the current date and time\n* `Disk` - show the current usage of a disk\n* `IPAddress` - show the current local IPv4 address\n* `Memory` - show the current memory usage and provide alerts it if leaves set boundaries\n* `PlainText`\n* `PulseaudioVolume` - show the current volume of a PulseAudio sink and control that using the scroll wheel\n* `Timer` - provides a small timer that play/pauses with a left-click and resets with a right-click.\n* `WiFi` - show the curent WiFi SSID, connection frequency and connection strength\n\n### Compiling locally\n\nThese instructions assume you have a recent version of the Go 1.18 (or newer) toolchain installed on your machine and a copy of GNU Make.\n\n`cdmbar` includes some stuff that works with the VCS stamping introduced in Go 1.18, however you can compile with `-buildvcs=false` and everything should still work fine without Git installed.\n\n```\n// Alternatively, download the source as a ZIP file\ngit clone https://github.com/codemicro/bar.git\ncd bar\n\n// Will install cdmbar to ~/.local/bin - to use it with i3, we need to put it on PATH\nmake clean install\n\n// You can customise the install directory using `make install_dir=/usr/local/bin clean install`\n// You can build without VCS stamping using `make build_args=\"-buildvcs=false\" clean install`\n```\n\n### Using with i3wm\n\nUpdate the `status_command` line in your i3wm config file to match the below.\n\n```\nbar {\n        status_command cdmbar\n}\n```\n\n### Changing options\n\nEdit the arguments of the call to `b.RegisterBlockGenerator` inside of `cmd/bar/main.go`, then recompile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemicro%2Fbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemicro%2Fbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemicro%2Fbar/lists"}