Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

Waybar

> 编程语言
Open source

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:

11.7K stars0 likes1 views
WebsiteGitHub

About

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:

Waybar

Highly customizable Wayland bar for Sway and wlroots-based compositors.
Available in all major distributions.

Installation · Wiki · Configuration · Styling · Examples · FAQ

Features

Compositor integration

Compositor Workspaces / Tags Window Layout Language Mode
Sway ✅ ✅ ✅ ✅
River ✅ ✅ ✅ ✅
Hyprland ✅ ✅ ✅ ✅
Niri ✅ ✅ ✅
Mango ✅ ✅ ✅ ✅ ✅
DWL ✅ ✅
Wayfire ✅ ✅

DWL requires the dwl IPC patch.

Modules

  • Power & hardware — Battery, UPower, Power profiles daemon, Backlight, CPU, Memory, Disk, Temperature
  • Connectivity — Network, Bluetooth, GPS, WWAN
  • Audio & media — PulseAudio, WirePlumber, JACK, sndio, Cava, MPD, MPRIS
  • Desktop — Clock & calendar, System tray, Idle inhibitor, Keyboard state, Privacy, Gamemode, Systemd failed units, Image, Custom scripts

…and more. Every module is documented on the wiki (see the Modules sidebar).

Getting started

bash
git clone https://github.com/Alexays/Waybar
cd Waybar
meson setup build
ninja -C build
./build/waybar          # run without installing

Waybar launches with a sensible default config. To make it yours, copy the default config and stylesheet into ~/.config/waybar/ and edit them. The Configuration and Styling guides cover every option, and Examples has ready-to-use community setups.

Installation

Waybar is packaged by most distributions: An Ubuntu PPA with more recent versions is available here.

Building from source

bash
git clone https://github.com/Alexays/Waybar
cd Waybar
meson setup build
ninja -C build
ninja -C build install   # optional
Runtime dependencies
gtkmm3       jsoncpp      libsigc++    fmt          wayland
chrono-date  spdlog       xkbregistry  libgtk-3-dev upower

libpulse             [Pulseaudio module]
libnl                [Network module]
libappindicator-gtk3 [Tray module]
libdbusmenu-gtk3     [Tray module]
libmpdclient         [MPD module]
libsndio             [sndio module]
libevdev             [KeyboardState module]
Build dependencies
cmake   meson   scdoc   wayland-protocols
Install dependencies — Ubuntu
bash
sudo apt install \
  clang-tidy gobject-introspection libdbusmenu-gtk3-dev libevdev-dev \
  libfmt-dev libgirepository1.0-dev libgtk-3-dev libgtkmm-3.0-dev \
  libinput-dev libjsoncpp-dev libmpdclient-dev libnl-3-dev libnl-genl-3-dev \
  libpulse-dev libsigc++-2.0-dev libspdlog-dev libwayland-dev scdoc upower \
  libxkbregistry-dev
Install dependencies — Arch
bash
pacman -S --asdeps \
  gtkmm3 jsoncpp libsigc++ fmt wayland chrono-date spdlog gtk3 \
  gobject-introspection libgirepository libpulse libnl libappindicator-gtk3 \
  libdbusmenu-gtk3 libmpdclient sndio libevdev libxkbcommon upower meson \
  cmake scdoc wayland-protocols glib2-devel

Contributing

Contributions are welcome — see CONTRIBUTING.md. The style guidelines are Google's C++ style.

Docs live in the man pages. Module documentation is written in man/ (scdoc) and auto-synced to the wiki. Edit the man page, not the wiki — see .github/wiki.

[!CAUTION] Distributions of Waybar are only released on the official GitHub page.
Waybar does not have an official website. Do not trust any site claiming to be official.

License

Waybar is licensed under the MIT license. See LICENSE for details.

Issues· 748 open

View all issuesOpen on GitHub
  • #2437

    Missing DBus service for tray

    Updated Sep 28, 2026
  • #5286

    System freezes for a few seconds on first workspace switch via mouse click in hyprland/workspaces

    bughyprlandcustomclockUpdated Sep 28, 2026
  • #5352

    hyprland/workspaces: changeworkspaceid leaves {name} stale (wrong labels, double-active)

    bughyprlandcustomclockUpdated Sep 28, 2026
  • #5341

    hyprland/workspaces doesnt show workspaces

    bughyprlandcustomclockkeyboardUpdated Sep 28, 2026
  • #5350

    sway/workspaces and sway/window use a lot of CPU when any window's title keeps changing

    bugcustomswayclockUpdated Sep 27, 2026
  • #3996

    [Feature request] Custom script execution for on-click event in "wlr/taskbar"

    bugenhancementmemorycustomUpdated Sep 26, 2026
  • #5344

    waybar-0.15 + git 7f732f055316d3b0ab89f57e4347d24c1cc96167 crashes on input device removal.

    bughyprlandcustomkeyboardUpdated Sep 25, 2026
  • #5301

    Clicking a workspace button does nothing, NixOS

    bughyprlandcustomUpdated Sep 25, 2026
  • #5325

    Bar keeps crashing with Error in inter-thread communication: write() failed: Bad file descriptor

    bugcustominhibitorUpdated Sep 23, 2026
  • #5338

    `custom` modules unaffected by `justify` settings

    bugcustomswayUpdated Sep 23, 2026

> Tags

C++bargtki3statusstatusbar

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言