minimalistic xmobar inspired status bar, in a terminal emulator.
| theme | image |
| ----- | ----- |
| black | |
| white-no-nerd |
|
| black flames |
|
| black ice |
|
| black powerline |
|
| black circle |
|
| black tabs |
|
| pixelated |
|
| trapezoid |
|
| slash |
|
If you want a window manager that plays along well with it, have a look at umberwm.
Binaries are available on release page
By default, umberbar will create ~/.config/umberbar/umberbar.conf
with default theme.
To select a different theme use -t <theme_name>
and to save it it to the configuration use -s
(-h
for more help).
Generated configuration will have comments discribing each fields.
You can also add additional configuration in ~/.config/umberbar/override.conf
.
This will allow you to switch themes via -t
and -s
without loosing your changes.
The configuration parameters you set in this file will override the ones in umberbar.conf.
For example, here are contents of my override.conf tailored for urxvt:
term=urxvt
terminal_width=241
font=FuraCode Nerd Font Mono
./umberbar
crystal build umberbar.cr
./umberbar
./umberbar.rb
You can also use urxvt instead of xterm, which is nice becaues urxvt has background transparency support.
Your urxvt version should also have truecolor enabled.
just run:
./umberbar -te urxvt
For nerd font to be fully operational, make sure the font you're using is monospaced.
crystal gives this project many advantages:
Although both languages are really close, crystal is not made to be compatible with ruby.
This project uses the lowest common denominator between those (so no macro, no introspection).
Where there were incompatibilites, we used the method is_ruby?
.
Here is a list of incompatibilities and how we handle those:
Time.now
does not exist in crystal so we use date
command in rubyProcess.exec
does not have the same exact interface__FILE__
in ruby, PROGRAM_NAME
in crystal