{"id":15569534,"url":"https://github.com/cito/squirrel-bar","last_synced_at":"2025-10-06T07:56:49.445Z","repository":{"id":146543452,"uuid":"170759549","full_name":"Cito/squirrel-bar","owner":"Cito","description":"another hard coded i3-bar rendered with SDL2","archived":false,"fork":false,"pushed_at":"2019-02-13T00:33:37.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T01:56:07.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":false,"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/Cito.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}},"created_at":"2019-02-14T21:19:25.000Z","updated_at":"2020-08-25T16:15:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f653381d-9402-4f13-91ce-3be4da5912a9","html_url":"https://github.com/Cito/squirrel-bar","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cito%2Fsquirrel-bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cito%2Fsquirrel-bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cito%2Fsquirrel-bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cito%2Fsquirrel-bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cito","download_url":"https://codeload.github.com/Cito/squirrel-bar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240405341,"owners_count":19796173,"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":"2024-10-02T17:31:50.905Z","updated_at":"2025-10-06T07:56:44.415Z","avatar_url":"https://github.com/Cito.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# squirrel-bar\nanother hard coded i3-bar rendered with SDL2.\n\n![screenshot of the bar](bar-screenshot.png?raw=true \"a screenshot of the bar\")\n\non this screenshot you can see following things:\n- workspaces\n- the current network obtained with `nmcli` and `ip`\n- the current time hour:minute:second\n- the number of processes in runnable state (see man pages for `proc` (`/proc/stat` \u003e `procs_running`))\n- the processor usage of each logical CPU\n- the processor usage of the system plotted\n- the current battery energy in percent\n- a heart icon which indicates if the battery is charging, discharging or full\n\n## 1. Install\n### 1.1 Clone Repository\n`git clone https://github.com/NatrixAeria/squirrel-bar`\n### 1.2 Build it\nTo compile the project make sure you have installed:\n- SDL2\n- SLD2-ttf\n- NetworkManager (`networkmanager`)\n#### 1.2.1 With `build` script\njust type:\n`sh build`.\nThe `build` script compiles and runs the code automatically.\n#### 1.2.2 Manually\ncompile it with gcc:\n`g++ -o sqbar *.cpp -L/usr/lib -pthread -lSDL2 -lSDL2_ttf -L/usr/X11/lib -lX11 -lstdc++ -std=c++17`\n### 2. Add it to your configs\nedit your i3 config ( `etc/i3/config` or `~/.i3/config` or `~/.config/i3/config` ):\n```\n...\nbar {\n    ...\n    i3bar_command path/to/squirrel-bar/sqbar\n    ...\n}\n...\n```\nand save the file.\n### 3. Reload i3\nreload i3 with `i3 reload`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcito%2Fsquirrel-bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcito%2Fsquirrel-bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcito%2Fsquirrel-bar/lists"}