Skip to content

jm-janzen/lemonbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

JM's Lemonbar

This is my old Lemonbar script. Lately, I use this tricked out Polybar, but it's still fun to see how one would make an entire i3 status bar by creating a format string

%{l} | %{F#00FFFF}jm%{F-} | OS: Linux 6.14.0-24-generic x86_64 | %{r} | CPU: %{F#00FF00}00%%%{F-} | MEM: %{F#FFFF00}63%%%{F-} | DSK: %{F#FFFF00}56%%%{F-} | THU : 2025-09-18 07:45:40 |

and piping it to lemonbar to get

| jm | OS: Linux 6.14.0-24-generic x86_64 | // | CPU: 00% | MEM: 00% | DSK: 00% | THU: 2025-09-18 07:45:40 | 

colours not shown here, but you get the idea. That kind of control is prettty neat!

How to use with your i3 setup

Add or edit your status_command to look like this:

bar {
    status_command exec $HOME/lemonbar/pybar.py | lemonbar -p -b
}

With path edited to be wherever you downloaded this repo to.

You can experiment with changing the output, or tweaking the lemonbar options by simplying entering this repo on your local machine and executing ./pybar.py | lemonbar. For example, if you wanted to output to a specific monitor, you could look it up with xrandr --listactivemonitors then use the following command .pybar.py | lemonbar -o HDMI-1 (or whatever your monitor is designated as).

About

lemonbar script for i3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages