Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Daniel Eklöf b6b47bd0b0 Release 1.2.0 2 years ago
bar bar/wayland: change disconnected log type from warn -> info 2 years ago
completions Rename project: f00bar -> yambar 2 years ago
decorations meson: add tllist dependency to decorations SDK 2 years ago
doc meson: fix version generation from git 2 years ago
external wlr-protocols: bump 2 years ago
modules tllist: use tllist from external git repository 2 years ago
particles tllist: use tllist from external git repository 2 years ago
subprojects/tllist Release 1.2.0 2 years ago
test Rename project: f00bar -> yambar 2 years ago
.build.yml Rename project: f00bar -> yambar 2 years ago
.gitignore initial commit: wip 3 years ago
.gitlab-ci.yml Revert "ci: break" 2 years ago
.gitmodules .gitmodules: remove tllist (to be replaced with static content in release) 2 years ago
LICENSE license: MIT 3 years ago
PKGBUILD meson/PKGBUILD: bump version to 1.2.0 2 years ago
PKGBUILD.wayland-only meson/PKGBUILD: bump version to 1.2.0 2 years ago
README.md Revert "Dummy commit to test gitlab mirroring from other repo" 2 years ago
color.h initial commit: wip 3 years ago
config-verify.c tllist: use tllist from external git repository 2 years ago
config-verify.h config: conf_verify_dict() now assumes attr list is NULL-terminated 3 years ago
config.c cairo: replace cairo with pixman in decos, particles and modules 2 years ago
config.h cairo: replace cairo with pixman in decos, particles and modules 2 years ago
decoration.h cairo: replace cairo with pixman in decos, particles and modules 2 years ago
font.c font: add commented out code to calculate underline/strikeout metrics 2 years ago
font.h font: remove lock (all rendering happens in the main thread) 2 years ago
generate-version.sh generate-version: handle builds that aren't git clones 2 years ago
log.c log: colorize console output only when stdout is a tty 3 years ago
log.h log: LOG_ERRNO_P(), like LOG_ERRNO(), except user provides errno value 3 years ago
main.c meson: fix version generation from git 2 years ago
meson.build meson/PKGBUILD: bump version to 1.2.0 2 years ago
meson_options.txt meson: initial support for building plugins as shared libraries 3 years ago
module.c particle: remove cairo context from begin_expose() 2 years ago
module.h particle: remove cairo context from begin_expose() 2 years ago
particle.c particle: add missing argument to debug log 2 years ago
particle.h cairo: replace cairo with pixman in decos, particles and modules 2 years ago
plugin.c tllist: use tllist from external git repository 2 years ago
plugin.h plugins: export a const function pointer interface struct 3 years ago
screenshot.png screenshot: update 2 years ago
stride.h font: initial port from cairo scaled fonts to raw freetype + pixman 2 years ago
tag.c tag: add support for "hex" and "oct" format modifiers 3 years ago
tag.h Reduce header intra-dependencies 3 years ago
xcb.c misc: xcb_connect() always returns a non-NULL pointer 3 years ago
xcb.h xcb: add xcb_error(), a generic describe-an-x-error function 3 years ago
yambar.desktop desktop: add Desktop Entry file 2 years ago
yml.c tllist: use tllist from external git repository 2 years ago
yml.h yml: add line/column info to every node 3 years ago

README.md

Yambar

Index

  1. Introduction
  2. Configuration
  3. Modules

Introduction

screenshot

yambar is a light-weight and configurable status panel (bar, for short) for X and Wayland.

It has a number of modules that provide information in the form of tags. For example, the clock module has a date tag that contains the current date.

The modules do not know how to present the information though. This is instead done by particles. And the user, you, decides which particles (and thus how to present the data) to use.

Furthermore, each particle can have a decoration. These are things like a different background, or an graphical underline.

There is no support for images or icons. use an icon font (e.g. Font Awesome, or Material Icons) if you want a graphical representation.

There are a number of modules and particles builtin. More can be added as plugins. You can even write your own!

To summarize: a bar displays information provided by modules, using particles and decorations. How is configured by you.

Configuration

Yambar is configured using YAML, in ~/.config/yambar/config.yml. It must define a top-level dictionary named bar:

bar:
  height: 26
  location: top
  background: 000000ff

  right:
    - clock:
        content:
          - string: {text: , font: *awesome}
          - string: {text: "{date}", right-margin: 5}
          - string: {text: , font: *awesome}
          - string: {text: "{time}"}

For details, see the man pages (yambar(5) is a good start).

Modules

Available modules:

  • alsa
  • backlight
  • battery
  • clock
  • i3 (and Sway)
  • label
  • mpd
  • network
  • removables
  • xkb (XCB backend only)
  • xwindow (XCB backend only)