{"id":13713914,"url":"https://github.com/distatus/gobar","last_synced_at":"2025-12-17T03:00:00.567Z","repository":{"id":18366150,"uuid":"21546425","full_name":"distatus/gobar","owner":"distatus","description":"minimalistic X status bar in pure Go","archived":false,"fork":false,"pushed_at":"2023-01-27T18:56:22.000Z","size":62,"stargazers_count":68,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T00:36:58.915Z","etag":null,"topics":["go","statusbar","x11"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/distatus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"KenjiTakahashi"}},"created_at":"2014-07-06T18:58:05.000Z","updated_at":"2024-12-03T16:43:38.000Z","dependencies_parsed_at":"2023-02-15T12:01:27.687Z","dependency_job_id":null,"html_url":"https://github.com/distatus/gobar","commit_stats":null,"previous_names":["kenjitakahashi/gobar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/distatus/gobar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distatus%2Fgobar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distatus%2Fgobar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distatus%2Fgobar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distatus%2Fgobar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distatus","download_url":"https://codeload.github.com/distatus/gobar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distatus%2Fgobar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27775871,"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","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"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":["go","statusbar","x11"],"created_at":"2024-08-02T23:01:47.553Z","updated_at":"2025-12-17T03:00:00.548Z","avatar_url":"https://github.com/distatus.png","language":"Go","funding_links":["https://github.com/sponsors/KenjiTakahashi"],"categories":["Packages","Repositories"],"sub_categories":["Bars, Panels, and Widgets"],"readme":"[![Build Status](https://github.com/distatus/gobar/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/distatus/gobar/actions/workflows/tests.yml)\n\n**gobar** is a minimalistic X status bar written in pure Go.\n\nSupports xinerama, EWMH, font antialiasing and possibly some other fancy looking names and shortcuts.\n\n## screenshot\n\nTwo **gobar** instances, both fed by [osop](https://github.com/distatus/osop).\n\nFor detailed configuration see [my](https://github.com/KenjiTakahashi/dotfiles/blob/master/dotxprofile) [dotfiles](https://github.com/KenjiTakahashi/dotfiles/tree/master/dotconfig/osop).\n\n![screenshot](http://img.kenji.sx/gobar_dual.png)\n\n## installation\n\nFirst, you have to [get Go](http://golang.org/doc/install). Note that version \u003e= 1.1 is required.\n\nThen, just\n\n```bash\n$ go get github.com/distatus/gobar\n```\n\nshould get you going.\n\n## usage\n\nCommand line options reference follows:\n\n**-h --help** displays help message and exits.\n\n**--bottom** places bar on bottom of the screen *(defaults to false)*.\n\n**--geometries** takes comma separated list of monitor geometries *(defaults to `0x16+0+0`)*.\n\nEach geometry is in form of `\u003cwidth\u003ex\u003cheight\u003e+\u003cx\u003e+\u003cy\u003e`. If `\u003cwidth\u003e`/`\u003cheight\u003e` is `0`, screen width/height is used.\n\nIf geometry is empty, bar is not drawn on a respective monitor.\n\nIf there are less geometries than monitors, last geometry is used for subsequent monitors.\n\n**--fonts** takes comma separated list of fonts.\n\nEach font element is in form of `\u003cfont name or path\u003e[:\u003cfont size\u003e]`.\n\nIf omitted, or if incorrect path is specified, defaults to whatever it can find in the system.\nIf nothing suitable is found, falls back to `Liberation Mono` that is always bundled with the Go font library.\n\nIf `\u003cfont size\u003e` part is omitted or incorrect, defaults to `12`.\n\n**--fg** takes main foreground color. Should be in form `0xAARRGGBB` *(defaults to `0xFFFFFFFF`)*.\n\n**--bg** takes main background color. Should be in form `0xAARRGGBB` *(defaults to `0xFF000000`)*.\n\nOther than that, an input string should be piped into the **gobar** executable.\n\nA really simple example could be displaying current date and time.\n```bash\n$ while :; do date; sleep 1; done | gobar\n```\n\nSpecial tokens can also be used in the input string to allow nice formatting.\n\n#### Input string formatting syntax\n\nEach token should be preceded with `{` and will be active until `}`. Note that `{text}` is also treated as valid token and will output `text`. Escaping with `\\` will print bracket(s) literally.\n\n**F\u0026lt;num\u0026gt;** sets active font, **\u0026lt;num\u0026gt;** should be index of one of the elements from fonts list specified in **--fonts=**.\n\n**S\u0026lt;num\u0026gt;,\u0026lt;num\u0026gt;...** specifies monitors to draw on. Multiple, comma separated, numbers can be specified. If not specified, draws to all available monitors. Negative number can be specified to set on which monitors to *not* draw.\n\n**CF0xAARRGGBB** sets active foreground color.\n\n**CB0xAARRGGBB** sets active background color.\n\n**AR** aligns next text piece to the right.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistatus%2Fgobar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistatus%2Fgobar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistatus%2Fgobar/lists"}