forked from external/yambar
Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
decorations | ||
modules | ||
particles | ||
.gitignore | ||
.gitlab-ci.yml | ||
bar.c | ||
bar.h | ||
CMakeLists.txt | ||
color.h | ||
config-verify.c | ||
config-verify.h | ||
config.c | ||
config.h | ||
decoration.h | ||
font.c | ||
font.h | ||
LICENSE | ||
log.c | ||
log.h | ||
main.c | ||
module.c | ||
module.h | ||
particle.c | ||
particle.h | ||
PKGBUILD | ||
plugin.c | ||
plugin.h | ||
README.md | ||
screenshot.png | ||
tag.c | ||
tag.h | ||
tllist.h | ||
xcb.c | ||
xcb.h | ||
yml.c | ||
yml.h |
F00bar
Index
Configuration
Overview
F00bar is configured using YAML, in ~/.config/f00bar/config.yml
. It
must define a top-level dictionary named bar:
bar:
height: 26
location: top
background: 000000ff
Types
There are a couple types used that are specific to f00bar.
- font: this is a string in fontconfig format. Example of valid values:
- Font Awesome 5 Brands
- Font Awesome 5 Free:style=solid
- Dina:pixelsize=10:slant=italic
- Dina:pixelsize=10:weight=bold
- color: an rgba hexstring; RRGGBBAA. Examples:
- ffffffff: white, no transparancy
- 000000ff: black, no transparancy
- 00ff00ff: green, no transparancy
- ff000099: red, semi-transparent
Bar
height
(int, required): the height of the bar, in pixels. Note that the bar will always occupy the entire width of the monitor.location
(enum, required): one oftop
orbottom
. Should be self-explanatory.background
(color, required): background color, in rgba. Thus, in the example above, the background is set to blackleft-spacing
(int): space, in pixels, added before each moduleright-spacing
(int): space, in pixels, added after each modulespacing
(int): short-hand for setting bothleft-spacing
andright-spacing
left-margin
(int): left-side margin, in pixelsright-margin
(int): right-side margin, in pixelsmargin
(int): short-hand for setting bothleft-margin
andright-margin
border
(dictionary): configures a border around the status barfont
(font): default font to useforeground
(color): default foreground (text) color to useleft
(list): left-aligned modulescenter
(list): center-aligned modulesright
(list): right-aligned modules
The border
dictionary has the following attributes:
width
(int, required): with, in pixels, of the bordercolor
(color, required): the color of the border