1
0
Fork
You've already forked maybar
0
forked from mathstuf/maybar
Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar. Forked from https://codeberg.org/dnkl/yambar
  • C 96.2%
  • Meson 2.8%
  • Yacc 0.4%
  • Lex 0.3%
  • Shell 0.3%
Find a file
2026年05月27日 05:43:55 +02:00
bar clang-format: fix assignment formatting 2026年05月21日 15:15:43 -04:00
completions x11: remove support 2026年05月15日 23:30:18 -04:00
decorations clang-format: fix brace placement formatting nits 2026年05月21日 15:14:59 -04:00
doc modules/weather: add poll-interval 2026年05月25日 15:21:50 -04:00
examples x11: remove support 2026年05月15日 23:30:18 -04:00
external module/river: add support for ‘layout’ events 2023年01月12日 18:15:16 +01:00
modules Merge pull request 'module-dependency-cleanups' ( #28 ) from module-dependency-cleanups into master 2026年05月27日 05:43:55 +02:00
particles clang-format: fix pointer placement formatting nits 2026年05月21日 15:15:43 -04:00
subprojects subprojects: use meson wrap files for tllist+fcft 2020年12月25日 12:22:15 +01:00
test whitespace: fix trailing whitespace and other nits 2026年05月16日 22:27:18 -04:00
.clang-format clang-format: normalize tll_foreach formatting 2026年05月21日 15:02:16 -04:00
.editorconfig misc: add format files for clang-format and editorconfig 2021年12月21日 18:44:37 +01:00
.gitignore subprojects: use meson wrap files for tllist+fcft 2020年12月25日 12:22:15 +01:00
.gitmodules fcft/tllist: remove git submodules 2020年01月11日 14:43:26 +01:00
.woodpecker.yaml ci: enforce clang-format rules 2026年05月21日 15:16:49 -04:00
CHANGELOG.md weather: add plugin 2026年05月21日 15:53:09 -04:00
char32.c Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
char32.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
color.h initial commit: wip 2018年11月17日 11:30:33 +01:00
config-verify.c clang-format: normalize tll_foreach formatting 2026年05月21日 15:02:16 -04:00
config-verify.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
config.c x11: remove support 2026年05月15日 23:30:18 -04:00
config.h x11: remove support 2026年05月15日 23:30:18 -04:00
decoration.h clang-format: fix brace placement formatting nits 2026年05月21日 15:14:59 -04:00
font-shaping.h config: add inheritable option "font-shaping" 2022年02月23日 18:43:13 +01:00
generate-version.sh maybar: rename from yambar 2026年05月15日 21:50:59 -04:00
LICENSE license: MIT 2019年01月02日 11:24:28 +01:00
log.c clang-format: fix assignment formatting 2026年05月21日 15:15:43 -04:00
log.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
main.c x11: remove support 2026年05月15日 23:30:18 -04:00
maybar.desktop maybar: rename from yambar 2026年05月15日 21:50:59 -04:00
meson.build Merge pull request 'module-dependency-cleanups' ( #28 ) from module-dependency-cleanups into master 2026年05月27日 05:43:55 +02:00
meson_options.txt weather: add plugin 2026年05月21日 15:53:09 -04:00
module.c Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
module.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
particle.c Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
particle.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
PKGBUILD PKGBUILD: remove unnecessary flag setting 2026年05月25日 15:27:04 -04:00
plugin.c weather: add plugin 2026年05月21日 15:53:09 -04:00
plugin.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
README.md doc: mention the mathstuf/maybar copr for Fedora 2026年05月26日 15:11:48 -04:00
screenshot.png screenshot: update 2019年09月28日 21:20:03 +02:00
stride.h font: initial port from cairo scaled fonts to raw freetype + pixman 2019年09月22日 00:50:11 +02:00
tag.c clang-format: fix brace placement formatting nits 2026年05月21日 15:14:59 -04:00
tag.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00
yml.c clang-format: fix pointer placement formatting nits 2026年05月21日 15:15:43 -04:00
yml.h Apply "clang-format" preferences globally 2024年04月07日 10:05:10 +02:00

CI status

Maybar

Index

  1. Introduction
  2. Configuration
  3. Modules
  4. Installation
  5. Bugs

Introduction

screenshot

maybar is a lightweight and configurable status panel (bar, for short) for Wayland, that goes to great lengths to be both CPU and battery efficient - polling is only done when absolutely necessary.

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 - a background color or a graphical underline, for example.

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

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

bar:height:26location:topbackground:000000ffright:- clock:content:- string:{text: , font:"Font Awesome 6 Free:style=solid:size=12"}- string:{text:"{date}", right-margin:5}- string:{text: , font:"Font Awesome 6 Free:style=solid:size=12"}- string:{text:"{time}"}

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

Example configurations can be found in examples.

Modules

Available modules:

  • alsa
  • backlight
  • battery
  • clock
  • cpu
  • disk-io
  • dwl
  • foreign-toplevel
  • i3 (and Sway)
  • label
  • mem
  • mpd
  • network
  • pipewire
  • pulse
  • removables
  • river
  • script (see script examples)
  • sway-xkb
  • weather

Installation

Arch Linux (AUR)

yay -S maybar-git
# or
paru -S maybar-git

Fedora (copr)

dnf install 'dnf-command(copr)'
dnf copr enable mathstuf/maybar
dnf install maybar

Building from source

To build, first, create a build directory, and switch to it:

mkdir -p bld/release && cd bld/release

Second, configure the build (if you intend to install it globally, you might also want --prefix=/usr):

meson setup --buildtype=release ../..

Third, build it:

ninja

Optionally, install it:

ninja install

Bugs

Please report bugs to https://codeberg.org/mathstuf/maybar/issues

The report should contain the following:

  • Which Wayland compositor (and version) you are running
  • Maybar version (maybar --version)
  • Log output from maybar (start maybar from a terminal)
  • If reporting a crash, please try to provide a bt full backtrace with symbols (i.e. use a debug build)
  • Steps to reproduce. The more details the better