{"id":13423534,"url":"https://github.com/LemonBoy/bar","last_synced_at":"2025-03-15T17:31:53.053Z","repository":{"id":3970852,"uuid":"5065482","full_name":"LemonBoy/bar","owner":"LemonBoy","description":"A featherweight, lemon-scented, bar based on xcb","archived":false,"fork":false,"pushed_at":"2024-09-02T07:33:39.000Z","size":286,"stargazers_count":1636,"open_issues_count":21,"forks_count":192,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-03-13T15:47:23.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/LemonBoy.png","metadata":{"files":{"readme":"README.pod","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":"2012-07-16T09:39:19.000Z","updated_at":"2025-03-06T19:34:13.000Z","dependencies_parsed_at":"2022-07-21T22:00:22.419Z","dependency_job_id":"849631e0-196c-4c1c-a8bd-7d060b33bfe1","html_url":"https://github.com/LemonBoy/bar","commit_stats":{"total_commits":211,"total_committers":32,"mean_commits":6.59375,"dds":0.3601895734597157,"last_synced_commit":"59b0d2826a74b62c1ec0ed8bc71dea873dfc8135"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonBoy%2Fbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonBoy%2Fbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonBoy%2Fbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonBoy%2Fbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LemonBoy","download_url":"https://codeload.github.com/LemonBoy/bar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243766936,"owners_count":20344845,"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-07-31T00:00:36.862Z","updated_at":"2025-03-15T17:31:52.765Z","avatar_url":"https://github.com/LemonBoy.png","language":"C","readme":"=head1 NAME\n\nlemonbar - Featherweight lemon-scented bar\n\n=for HTML \u003cimg src=\"https://github.com/LemonBoy/bar/workflows/Does%20this%20build%20look%20infected%3F/badge.svg\"\u003e\n\n=head1 SYNOPSIS\n\nI\u003clemonbar\u003e [-h | -g I\u003cwidth\u003eB\u003cx\u003eI\u003cheight\u003eB\u003c+\u003eI\u003cx\u003eB\u003c+\u003eI\u003cy\u003e | -o | -b | -d | -f I\u003cfont\u003e | -p | -n I\u003cname\u003e | -u I\u003cpixel\u003e | -B I\u003ccolor\u003e | -F I\u003ccolor\u003e | -U I\u003ccolor\u003e]\n\n=head1 DESCRIPTION\n\nB\u003clemonbar\u003e (formerly known as B\u003cbar\u003e) is a lightweight statusbar based on XCB.\nProvides full UTF-8 support, basic formatting, RandR and Xinerama support and\nEWMH compliance without wasting your precious memory.\n\n=head1 INPUT\n\nThe data to be parsed is read from the standard input, parsing and printing the\ninput data are delayed until a newline is found.\n\n=head1 OPTIONS\n\n=over\n\n=item B\u003c-h\u003e\n\nDisplay the help and exit.\n\n=item B\u003c-g\u003e I\u003cwidth\u003eB\u003cx\u003eI\u003cheight\u003eB\u003c+\u003eI\u003cx\u003eB\u003c+\u003eI\u003cy\u003e\n\nSet the window geometry. If a parameter is omitted it's filled with the default value. If the I\u003cy\u003e parameter is specified along with the B\u003c-b\u003e switch then the position is relative to the bottom of the screen.\n\n=item B\u003c-o\u003e I\u003cname\u003e\n\nSet next output to I\u003cname\u003e. May be used multiple times; order is significant. If any B\u003c-o\u003e options are given, only B\u003c-o\u003e specified monitors will be used. Invalid output names are silently ignored. (only supported on randr configurations at this time)\n\n=item B\u003c-b\u003e\n\nDock the bar at the bottom of the screen.\n\n=item B\u003c-d\u003e\n\nForce docking without asking the window manager. This is needed if the window manager isn't EWMH compliant.\n\n=item B\u003c-f\u003e I\u003cfont\u003e\n\nSpecifies a font to use. Can be used multiple times to load more than a single\nfont.\n\n=item B\u003c-p\u003e\n\nMake the bar permanent, don't exit after the standard input is closed.\n\n=item B\u003c-n\u003e I\u003cname\u003e\n\nSet the WM_NAME atom value for the bar.\n\n=item B\u003c-u\u003e I\u003cpixel\u003e\n\nSets the underline width in pixels. The default is 1.\n\n=item B\u003c-B\u003e I\u003ccolor\u003e\n\nSet the background color of the bar. I\u003ccolor\u003e must be specified in the hex format (#aarrggbb, #rrggbb, #rgb). If no compositor such as compton or xcompmgr is running the alpha channel is silently ignored.\n\n=item B\u003c-F\u003e I\u003ccolor\u003e\n\nSet the foreground color of the bar. Accepts the same color formats as B\u003c-B\u003e.\n\n=item B\u003c-U\u003e I\u003ccolor\u003e\n\nSet the underline color of the bar. Accepts the same color formats as B\u003c-B\u003e.\n\n=back\n\n=head1 FORMATTING\n\nlemonbar provides a screenrc-inspired formatting syntax to allow full customization at runtime. Every formatting block is opened with C\u003c%{\u003e and closed by C\u003c}\u003e and accepts the following commands, the parser tries its best to handle malformed input. Use C\u003c%%\u003e to get a literal percent sign (C\u003c%\u003e).\n\n=over\n\n=item B\u003cR\u003e\n\nSwap the current background and foreground colors.\n\n=item B\u003cl\u003e\n\nAligns the following text to the left side of the screen.\n\n=item B\u003cc\u003e\n\nAligns the following text to the center of the screen.\n\n=item B\u003cr\u003e\n\nAligns the following text to the right side of the screen.\n\n=item B\u003cO\u003eI\u003cwidth\u003e\n\nOffset the current position by I\u003cwidth\u003e pixels in the alignment direction.\n\n=item B\u003cB\u003eI\u003ccolor\u003e\n\nSet the text background color. The parameter I\u003ccolor\u003e can be I\u003c-\u003e or a color in one of the formats mentioned before. The special value I\u003c-\u003e resets the color to the default one.\n\n=item B\u003cF\u003eI\u003ccolor\u003e\n\nSet the text foreground color. The parameter I\u003ccolor\u003e can be I\u003c-\u003e or a color in one of the formats mentioned before. The special value I\u003c-\u003e resets the color to the default one.\n\n=item B\u003cT\u003eI\u003cindex\u003e\n\nSet the font used to draw the following text. The parameter I\u003cindex\u003e can either be I\u003c-\u003e or the 1-based index of the slot which contains the desired font. If the parameter is I\u003c-\u003e lemonbar resets to the normal behavior (matching the first font that can be used for the character). If the selected font can't be used to draw a character, lemonbar will fall back to normal behavior for that character\n\n=item B\u003cU\u003eI\u003ccolor\u003e\n\nSet the text underline color. The parameter I\u003ccolor\u003e can be I\u003c-\u003e or a color in one of the formats mentioned before. The special value I\u003c-\u003e resets the color to the default one.\n\n=item B\u003cA\u003eI\u003cbutton\u003e:I\u003ccommand\u003e:\n\nCreate a clickable area starting from the current position, when the area is clicked I\u003ccommand\u003e is printed on stdout. The area is closed when a B\u003cA\u003e token, not followed by : is encountered.\n\nEg. I\u003c%{A:reboot:} Click here to reboot %{A}\u003e\n\nThe I\u003cbutton\u003e field is optional, it defaults to the left button, and it's a number ranging from 1 to 5 which maps to the left, middle, right, scroll up and scroll down movements. Your mileage may vary.\n\nNested clickable areas can trigger different commands.\n\nEg. I\u003c%{A:reboot:}%{A3:halt:} Left click to reboot, right click to shutdown %{A}%{A}\u003e\n\n=item B\u003cS\u003eI\u003cdir\u003e\n\nChange the monitor the bar is rendered to. I\u003cdir\u003e can be either\n\n=over\n\n=item B\u003c+\u003e/B\u003c-\u003e\n\nNext/previous monitor.\n\n=item B\u003cf\u003e/B\u003cl\u003e\n\nFirst/last monitor.\n\n=item I\u003c0-9\u003e\n\nNth monitor.\n\n=item I\u003cn\u003eB\u003cNAME\u003e\n\nNamed monitor.\nEg. I\u003c%{SnHDMI-0} This text will show up on the HDMI-0 output\u003e\n\n=back\n\n=back\n\nB\u003cAttribute modifiers\u003e\n\n=over\n\n=item B\u003c+\u003eI\u003cattribute\u003e\n\nSet the attribute I\u003cattribute\u003e for the following text.\n\n=item B\u003c-\u003eI\u003cattribute\u003e\n\nUnset the attribute I\u003cattribute\u003e for the following text.\n\n=item B\u003c!\u003eI\u003cattribute\u003e\n\nToggle the attribute I\u003cattribute\u003e for the following text.\n\n=back\n\nWhere I\u003cattribute\u003e is one of the following\n\n=over\n\n=item B\u003co\u003e\n\nDraw a line over the text.\n\n=item B\u003cu\u003e\n\nDraw a line under the text.\n\n=back\n\n=head1 OUTPUT\n\nClicking on an area makes lemonbar output the command to stdout, followed by a newline, allowing the user to pipe it into a script, execute it or simply ignore it. Simple and powerful, that's it.\n\n=head1 WWW\n\nL\u003cgit repository|https://github.com/LemonBoy/bar\u003e\n\n=head1 AUTHOR\n\n2012-2020 (C) The Lemon Man\n\nXinerama support was kindly contributed by Stebalien\n\nRandR support was kindly contributed by jvvv\n\nClickable areas support was heavily based off u-ra contribution\n","funding_links":[],"categories":["C","HarmonyOS","Applications","Projects","Bar","Panel","应用","Packages"],"sub_categories":["Windows Manager","Status Bars","Desktop Customization","Nerd Fonts","桌面个性化","Bars, Panels, and Widgets"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLemonBoy%2Fbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLemonBoy%2Fbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLemonBoy%2Fbar/lists"}