Go to file
Aleksei Bavshin dd0144c3cd
fix(bar): set exclusive zone early for gtk-layer-shell
If the bar is using initial size from the config (i.e both width and
height are set and resize is not required), GtkWindow configure event
is is not emitted. Initialize exclusive zone earlier for that case.

Fixes #609
2020-03-04 06:56:25 -08:00
.github Create FUNDING.yml 2019-05-26 23:55:46 +02:00
Dockerfiles Add vim ft=Dockerfile for syntax highlight detection in editors 2019-09-02 18:07:49 +01:00
include pulseaudio: track only the default sink and source 2020-02-24 11:30:35 +01:00
man Merge branch 'master' into simple_calendar 2020-02-05 11:07:09 -08:00
package Add archlinux PKGBUILD 2018-08-09 20:50:11 +02:00
protocol Don't specify WindowId property 2020-01-05 10:22:52 -06:00
resources Merge branch 'master' into simple_calendar 2020-02-05 11:07:09 -08:00
src fix(bar): set exclusive zone early for gtk-layer-shell 2020-03-04 06:56:25 -08:00
subprojects Use github instead of mesonbuild for hinnant-date patch 2020-01-23 08:27:13 -05:00
.clang-format chore: Add clang-format configuration and format MPD module 2019-04-18 15:57:57 +02:00
.editorconfig chore: Add EditorConfig file 2019-04-18 15:55:45 +02:00
.gitignore Ignore all potential build directories 2019-02-28 19:57:49 -07:00
.gitmodules Add archlinux PKGBUILD 2018-08-09 20:50:11 +02:00
.travis.yml feat: clang-format 2019-10-23 15:03:32 +01:00
LICENSE Initial commit 2018-08-08 23:53:37 +02:00
Makefile Add install and build-debug commands to makefile 2018-12-28 06:37:07 -08:00
README.md add dependencies of gtk-layer-shell to readme 2019-12-28 15:19:42 +01:00
meson.build fix(meson): Support libc++ >=9.0.0 2020-02-11 14:42:24 +01:00
meson_options.txt chore: auto gtk-layer-shell option 2019-12-28 12:13:33 +01:00
preview-2.png chore: optimize preview 2018-10-01 18:56:58 +02:00
preview.png chore: optimize preview 2018-10-01 18:56:58 +02:00

README.md

Waybar Travis Licence Paypal Donate
Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors.
Available in Arch community or AUR, openSUSE, and Alpine Linux
Waybar examples

Current features

  • Sway (Workspaces, Binding mode, Focused window name)
  • Tray #21
  • Local time
  • Battery
  • Network
  • Pulseaudio
  • Disk
  • Memory
  • Cpu load average
  • Temperature
  • MPD
  • Custom scripts
  • Multiple output configuration
  • And much more customizations

Configuration and Styling

See the wiki for more details.

How to build

$ git clone https://github.com/Alexays/Waybar
$ cd Waybar
$ meson build
$ ninja -C build
$ ./build/waybar
# If you want to install it
$ ninja -C build install
$ waybar

Dependencies

gtkmm3
jsoncpp
libinput

libsigc++
fmt
wayland
wlroots
libgtk-3-dev [gtk-layer-shell]
gobject-introspection [gtk-layer-shell]
libgirepository1.0-dev [gtk-layer-shell]
libpulse [Pulseaudio module]
libnl [Network module]
sway [Sway modules]
libdbusmenu-gtk3 [Tray module]
libmpdclient [MPD module]

On Ubuntu 19.10 you can install all the relevant dependencies using this command:

sudo apt install libgtkmm-3.0-dev libjsoncpp-dev libinput-dev libsigc++-2.0-dev libpulse-dev libnl-3-dev libdbusmenu-gtk3-dev libnl-genl-3-dev libfmt-dev clang-tidy libmpdclient-dev libwayland-dev libgtk-3-dev gobject-introspection libgirepository1.0-dev scdoc

Contributions welcome! - have fun :)
The style guidelines is Google's

License

Waybar is licensed under the MIT license. See LICENSE for more information.