LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lemonbar

lightweight bar based on XCB

TLDR

Start bar reading from stdin
$ lemonbar
copy
Set bar geometry
$ lemonbar -g [1920x30+0+0]
copy
Set background and foreground
$ lemonbar -B "[#1d1f21]" -F "[#c5c8c6]"
copy
Set font
$ lemonbar -f "[monospace:size=10]"
copy
Bottom bar with underline
$ lemonbar -b -u [2]
copy
Pipe script to bar
$ [./status.sh] | lemonbar
copy

SYNOPSIS

lemonbar [options]

DESCRIPTION

lemonbar (formerly bar) is a lightweight bar based on XCB. It reads text from stdin and displays it as a status bar, supporting colors, alignment, and clickable areas.The bar uses a simple markup format for formatting: %{F#color} for foreground, %{B#color} for background, %{A:command:} for clickable areas.

PARAMETERS

-g geometry

Bar geometry (WxH+X+Y).
-b
Dock bar at bottom.
-f font
Font specification.
-B color
Background color.
-F color
Foreground color.
-u pixels
Underline width.
-n name
WM_NAME property.
-d
Force docking.

MARKUP FORMAT

$ %{l}left %{c}center %{r}right
%{F#ff0000}red text%{F-}
%{A:command:}clickable%{A}
copy

INSTALL

sudo apt install lemonbar
copy
sudo apk add lemonbar
copy
sudo zypper install lemonbar
copy
nix profile install nixpkgs#lemonbar
copy

CAVEATS

X11 only. Requires scripting for dynamic content. No built-in system monitoring. Markup errors can cause display issues.

HISTORY

lemonbar was created as bar by LemonBoy around 2012, renamed to lemonbar to avoid confusion with other projects.

SEE ALSO

polybar(1), i3status(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid