{"id":50731643,"url":"https://github.com/hadi493/cg-polybar","last_synced_at":"2026-06-10T09:02:09.776Z","repository":{"id":307174767,"uuid":"1022986479","full_name":"Hadi493/cg-polybar","owner":"Hadi493","description":"A clean and modern polybar configuration. (cg-polybar)","archived":false,"fork":false,"pushed_at":"2025-12-18T13:44:24.000Z","size":1668,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-21T18:56:05.345Z","etag":null,"topics":["archlinux-dotfiles","i3","i3-config","i3-polybar","i3status","i3wm","linux","polybar","polybar-config","simple","v1"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Hadi493.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-20T09:28:44.000Z","updated_at":"2025-12-18T13:44:28.000Z","dependencies_parsed_at":"2025-09-11T17:29:17.125Z","dependency_job_id":"fa2b38f6-f170-4d0e-ae84-6a34c90cdb1f","html_url":"https://github.com/Hadi493/cg-polybar","commit_stats":null,"previous_names":["hadi493/cg-polybar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hadi493/cg-polybar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hadi493%2Fcg-polybar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hadi493%2Fcg-polybar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hadi493%2Fcg-polybar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hadi493%2Fcg-polybar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hadi493","download_url":"https://codeload.github.com/Hadi493/cg-polybar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hadi493%2Fcg-polybar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["archlinux-dotfiles","i3","i3-config","i3-polybar","i3status","i3wm","linux","polybar","polybar-config","simple","v1"],"created_at":"2026-06-10T09:02:09.202Z","updated_at":"2026-06-10T09:02:09.768Z","avatar_url":"https://github.com/Hadi493.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cg-polybar\n\nA clean and modern polybar configuration.\n\n![Screenshot](./screenshots/void-i3.png)\n\n\n\n## Features\n\n- **Workspace indicator:** Shows the current workspace and allows you to switch between them.\n- **Window title:** Displays the title of the current active window.\n- **Microphone status:** Shows the current microphone volume and mute status.\n- **Audio control:** Shows the current volume level and allows you to mute/unmute.\n- **System monitoring:** Displays CPU and RAM usage.\n- **Battery status:** Shows the current battery level and charging status.\n- **Network information:** Displays wireless network information.\n- **Date and time:** Shows the current date and time.\n\n## Dependencies\n\n- `polybar`\n- `xrandr` (for multi-monitor support)\n- `pactl` (for microphone and volume control)\n- `MesloLGS Nerd Font Mono` (or any other Nerd Font for the icons)\n\n## Installation\n\n1.  **Clone the Repository**\n    \n    Open your terminal and clone the repository to your local machine:\n    \n    ```bash\n    git clone https://github.com/Hadi493/cg-polybar.git\n    cd cg-polybar\n    ```\n    \n2.  **Copy Configuration Files**\n    \n    Next, copy the configuration files into Polybar's default directory (`~/.config/polybar/`).\n    \n    ```bash\n    mkdir -p ~/.config/polybar\n    cp -r ./* ~/.config/polybar/\n    ```\n    \n3.  **Set Script Permissions**\n    \n    The launch and microphone scripts require executory permissions to run.\n    \n    ```bash\n    chmod +x ~/.config/polybar/launch_polybar.sh\n    chmod +x ~/.config/polybar/mic-input.sh\n    ```\n    \n\n## Usage\n\n### Manual Launch\n\nTo test the Polybar configuration, you can launch it manually from your terminal. This is useful for debugging and ensuring that all modules load correctly.\n\n```bash\n~/.config/polybar/launch_polybar.sh\n```\n\n### Automatic Start with Window Manager\n\nFor Polybar to start automatically when you log in, you need to add the launch script to your window manager's startup configuration file.\n\n**For i3:**\n\nAdd the following line to your `~/.config/i3/config` file:\n\n```\nexec_always --no-startup-id ~/.config/polybar/launch_polybar.sh\n```\n\n**For bspwm:**\n\nAdd the following line to your `~/.config/bspwm/bspwmrc` file:\n\n```bash\n~/.config/polybar/launch_polybar.sh \u0026\n```\n\nAfter adding the line, ensure that the `bspwmrc` file is executable:\n\n```bash\nchmod +x ~/.config/bspwm/bspwmrc\n```\n\n## Configuration\n\n- `config.ini`: The main polybar configuration file. You can customize the modules, colors, and fonts here.\n- `launch_polybar.sh`: A script to launch the polybar. It includes support for multiple monitors using `xrandr`.\n- `mic-input.sh`: A script to get the microphone volume and mute status.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadi493%2Fcg-polybar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadi493%2Fcg-polybar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadi493%2Fcg-polybar/lists"}