Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
Find a file
2019-01-20 19:26:31 +01:00
decorations decorations: cmake: we don't *really* need 3.13 2019-01-20 13:36:06 +01:00
modules module/network: thrd_t isn't an integer in musl 2019-01-20 14:30:39 +01:00
particles cmake: we don't *really* need 3.13 2019-01-20 13:07:38 +01:00
.gitignore initial commit: wip 2018-11-17 11:30:33 +01:00
.gitlab-ci.yml ci: build both debug and release 2019-01-20 14:37:25 +01:00
bar.c misc: make use of the xcb-aux library 2019-01-19 18:47:34 +01:00
bar.h bar: remove struct bar_run_context; store abort_fd in bar struct 2019-01-16 16:38:04 +01:00
CMakeLists.txt cmake: make sure we check for *all* xcb libs we need 2019-01-20 15:16:14 +01:00
color.h initial commit: wip 2018-11-17 11:30:33 +01:00
config-verify.c font: simplify configuration format; it's just a string now 2019-01-20 09:51:44 +01:00
config-verify.h config: conf_verify_dict() now assumes attr list is NULL-terminated 2019-01-13 11:37:05 +01:00
config.c font: simplify configuration format; it's just a string now 2019-01-20 09:51:44 +01:00
config.h decorations: are now plugins 2019-01-13 17:43:25 +01:00
decoration.h decorations: are now plugins 2019-01-13 17:43:25 +01:00
font.c font: ref-count font objects 2019-01-15 21:01:18 +01:00
font.h font: use font-config to load font 2019-01-09 18:50:16 +01:00
LICENSE license: MIT 2019-01-02 11:24:28 +01:00
log.c log: ensure variables are always initialized. Fixes gcc warning 2019-01-01 20:30:15 +01:00
log.h log: LOG_ERRNO_P(), like LOG_ERRNO(), except user provides errno value 2018-12-31 13:18:22 +01:00
main.c main: initialize locale 2019-01-19 20:50:02 +01:00
module.c module: remove ready_fd 2019-01-13 15:25:39 +01:00
module.h Reduce header intra-dependencies 2019-01-13 19:42:16 +01:00
particle.c particles: caller of from_conf() must provide base particle instance 2019-01-13 13:25:14 +01:00
particle.h Reduce header intra-dependencies 2019-01-13 19:42:16 +01:00
PKGBUILD PKGBUILD: add dependencies 2019-01-20 11:17:22 +01:00
plugin.c allow plugins to be compiled into the f00bar main binary 2019-01-14 20:57:03 +01:00
plugin.h Reduce header intra-dependencies 2019-01-13 19:42:16 +01:00
README.md README: some text; let's see what this looks like 2019-01-20 19:26:31 +01:00
screenshot.png README: some text; let's see what this looks like 2019-01-20 19:26:31 +01:00
tag.c tag: rename and rewrite sbuf_strcat() 2019-01-07 18:26:48 +01:00
tag.h Reduce header intra-dependencies 2019-01-13 19:42:16 +01:00
tllist.h tllist: cast away const in tll_{r,}foreach() 2018-12-15 11:46:34 +01:00
xcb.c misc: xcb_connect() always returns a non-NULL pointer 2019-01-19 18:45:15 +01:00
xcb.h xcb: add xcb_error(), a generic describe-an-x-error function 2019-01-15 20:44:21 +01:00
yml.c yml: add line/column info to every node 2019-01-11 23:20:06 +01:00
yml.h yml: add line/column info to every node 2019-01-11 23:20:06 +01:00

F00bar

pipeline status

screenshot

Index

  1. Configuration

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 of top or bottom. Should be self-explanatory.
  • background (color, required): background color, in rgba. Thus, in the example above, the background is set to black
  • left-spacing (int): space, in pixels, added before each module
  • right-spacing (int): space, in pixels, added after each module
  • spacing (int): short-hand for setting both left-spacing and right-spacing
  • left-margin (int): left-side margin, in pixels
  • right-margin (int): right-side margin, in pixels
  • margin (int): short-hand for setting both left-margin and right-margin
  • border (dictionary): configures a border around the status bar
  • font (font): default font to use
  • foreground (color): default foreground (text) color to use
  • left (list): left-aligned modules
  • center (list): center-aligned modules
  • right (list): right-aligned modules

The border dictionary has the following attributes:

  • width (int, required): with, in pixels, of the border
  • color (color, required): the color of the border