Package Details: waybar-git r636.67593b8-1

Git Clone URL: (read-only, click to copy)
Package Base: waybar-git
Description: Highly customizable Wayland bar for Sway and Wlroots based compositors (GIT)
Upstream URL:
Keywords: bar sway wlroots
Licenses: MIT
Conflicts: waybar
Provides: waybar
Submitter: BlueGone
Maintainer: Alexays (BlueGone, maximbaz)
Last Packager: Alexays
Votes: 26
Popularity: 0.53
First Submitted: 2018-08-09 18:41 (UTC)
Last Updated: 2021-11-30 14:00 (UTC)

Required by (19)

Sources (1)

Latest Comments

pkap commented on 2022-04-07 17:48 (UTC)

sndio is missing as a dependency. Thanks!

marijns commented on 2022-03-23 08:27 (UTC)

Can you change the pkgver() function to something like:

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

That'll show the latest tagged version and number of commits since, instead of just the total number of commits since the start of waybar.


Fjorge commented on 2022-01-16 21:07 (UTC)

I got around the dependency issue on update by skipping dependency checks on update and then reinstalling (and thereby recompiling) waybar-git. No issues so far, but I'll edit if anything breaks.

infiniter commented on 2022-01-12 18:02 (UTC)

Hello, this issue still blocks update. Any progress?

crawl_soever commented on 2021-12-27 14:01 (UTC) (edited on 2021-12-27 14:07 (UTC) by crawl_soever)

System updates are broken with this package. Likely due to a needed dependency update.

error: failed to prepare transaction (could not satisfy dependencies) :: installing jsoncpp (1.9.5-1) breaks dependency '' required by waybar-git

pastawater commented on 2021-11-10 07:55 (UTC) (edited on 2021-11-10 07:56 (UTC) by pastawater)

Seconding this comment from march this year:

PKGBUILD is missing sndio in its depends, waybar will not run without it.

Can you add "sndio" to deps please?

cgirard commented on 2021-11-02 13:52 (UTC) (edited on 2021-11-02 13:53 (UTC) by cgirard)

@justinesmithies this is fixed by replacing the git:// to git+https://, as suggested by @Xorg, in the repo url. Can one of the maintainer fix this please?

justinesmithies commented on 2021-11-02 13:39 (UTC)

This package no longer builds due to this error.

fetching devel info... error: failed to lookup: waybar-git: fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see for more information.

Zeioth commented on 2021-09-16 19:08 (UTC)

The temperature module doesn't seem to be working. Could you please check it out?

jplatte commented on 2021-08-19 10:43 (UTC)

If you stopped using waybar or downgraded chrono-date to 3.0.0-2 to make it work, you can just rebuild waybar after upgrading chrono-date again and it will work without having to keep the older chrono-date version installed.

Xorg commented on 2021-07-24 06:02 (UTC)

Can you replace source=("${pkgname}::git://") by source=("${pkgname}::git+"), please? I am unable to clone the Git repository without https.

reeeeeeeeeeelity commented on 2021-03-29 14:10 (UTC)

Source dir: .cache/yay/waybar-git/src/waybar-git Build dir: .cache/yay/waybar-git/src/build ERROR: Compiler cc can not compile programs.

manually go into the directory and do meson build && ninja -C build works tho

ErikR commented on 2021-03-15 16:26 (UTC)

Needed to edit the build file and add --auto-features=enabled after the meson command to enable rfkill support (for Bluetooth)

lmartinez-mirror commented on 2021-03-03 00:22 (UTC)

PKGBUILD is missing sndio in its depends, waybar will not run without it.

tiberiousr commented on 2021-01-05 09:24 (UTC)

Haven't been able to build this without removing the meson patch for over a month now.

danielrparks commented on 2020-12-06 18:28 (UTC)

Is the patch necessary anymore? I was able to build just fine without it.

kris7t commented on 2020-12-01 13:20 (UTC) fails to apply yet again, but it seems to be a bit more involved this time. Even after fixing the patch like this: compilation fails as follows:

electricprism commented on 2020-07-20 21:08 (UTC) (edited on 2020-07-20 21:09 (UTC) by electricprism)

I think a rebuild needs to be triggered on jsoncpp upgrade -- I can't recall if there is a DEPENDS in PKGBUILD for that or not, the last year I've gotten this error twice

waybar: error while loading shared libraries: cannot open shared object file: No such file or directory

Reinstalling waybar-git fixes the problem.

nhrjr commented on 2020-07-01 23:26 (UTC)

@Alexays: The does not pass the validity check. Could you update the checksum? Thanks!

insmo commented on 2020-07-01 04:27 (UTC)

Thanks for updating the patch.

Xorg commented on 2020-06-12 20:10 (UTC) (edited on 2020-06-12 20:12 (UTC) by Xorg)

@Alexays: can you fix the patch, please?

tfreiberg commented on 2020-05-20 07:06 (UTC)

Since yesterday, needs to be updated. The libinput = dependency('libinput') line needs to be removed, then the patch can be applied again

rhysperry111 commented on 2020-02-26 20:42 (UTC) (edited on 2020-02-26 20:43 (UTC) by rhysperry111)

Should gtk-layer-shell be added to optdepends?

jomority commented on 2020-01-30 19:01 (UTC)

@zach Yes, since the last commit (4e5d63bdeb53) this is fixed :)

zach commented on 2020-01-30 17:21 (UTC)

@jomority try installing with a clean build to get the dependency.

jomority commented on 2020-01-24 21:48 (UTC)

Build failing with error:

../waybar-git/include/modules/clock.hpp:9:10: fatal error: date/tz.h: No such file or directory
    9 | #include <date/tz.h>
      |          ^~~~~~~~~~~
compilation terminated.

I believe a dependency is missing.

alejometal commented on 2020-01-24 21:30 (UTC) (edited on 2020-01-24 21:30 (UTC) by alejometal)

Failed with error:

Run-time dependency date found: NO (tried pkgconfig and cmake) Not looking for a fallback subproject for the dependency date because: Use of fallbackdependencies is disabled.


In file included from ../waybar-git/include/factory.hpp:4, from ../waybar-git/src/factory.cpp:1: ../waybar-git/include/modules/clock.hpp:9:10: error fatal: date/tz.h: No existe el fichero o el directorio 9 | #include <date/tz.h> | ^~~~~~~~~~~ compilación terminada.

zach commented on 2019-12-17 06:05 (UTC)

Failing with error:

[72/90] Generating waybar-mpd.5 with a custom command.
FAILED: waybar-mpd.5
/usr/bin/sh -c '/usr/bin/scdoc < ../waybar-git/man/waybar-mpd.5.scd > waybar-mpd.5'
Error at 79:1: Tabs are required for indentation
[81/90] Compiling C++ object 'waybar@exe/src_modules_mpd.cpp.o'.
ninja: build stopped: subcommand failed.

Gamma commented on 2019-08-29 19:41 (UTC)

Add scdoc/scdoc-git as a dependency.

mnussbaum commented on 2019-05-26 18:40 (UTC)

There's probably not much you can do if an upstream dependency is down, but just FYI right now it looks like this package won't build due to being down

toggleton commented on 2019-04-23 11:30 (UTC) (edited on 2019-04-23 11:37 (UTC) by toggleton)

==> Validating source files with sha1sums... waybar-git ... Skipped ... FAILED ==> ERROR: One or more files did not pass the validity check!

need to change the sha1sums=('SKIP' 'ec12c4c2a5af2f92f35da8d57115e01f7ecf490d')

Alexays commented on 2019-04-23 09:45 (UTC)

@SibrenVasse now fixed :)

SibrenVasse commented on 2019-04-23 08:50 (UTC) (edited on 2019-04-23 08:50 (UTC) by SibrenVasse)

The current patch fails to apply.

--- 2018-11-08 09:57:21.000000000 +0100
+++   2018-11-09 09:47:40.000000000 +0100
@@ -32,7 +32,7 @@

 thread_dep = dependency('threads')
 libinput = dependency('libinput')
-fmt = dependency('fmt', version : ['>=5.3.0'], fallback : ['fmt', 'fmt_dep'])
+fmt = subproject('fmt').get_variable('fmt_dep')
 wayland_client = dependency('wayland-client')
 wayland_cursor = dependency('wayland-cursor')
 wayland_protos = dependency('wayland-protocols')

Xorg commented on 2019-03-27 08:09 (UTC)

Please add these lines in PKGBUILD:


fmartingr commented on 2019-03-19 13:14 (UTC)

You may want to make this conflict with the community/waybar package, so it is uninstalled automatically (or at least warns the user).

ainola commented on 2019-03-16 22:33 (UTC)

Please add a dependency for 'fmt', otherwise it's downloading a copy instead of using the system. Also, this should conflict with 'waybar', which is now in the official repos.


rbnis commented on 2019-03-14 06:53 (UTC) (edited on 2019-03-14 06:54 (UTC) by rbnis)

Please change the dependencies




Snoop05 commented on 2019-03-12 12:05 (UTC) (edited on 2019-03-12 15:27 (UTC) by Snoop05)

Dependency wlroots found: NO (tried cmake) 
Not looking for a fallback subproject for the dependency wlroots because: 
Use of fallbackdependencies is disabled. ERROR: Could not generate cargs for wlroots:

$ pacman -Q wlroots
wlroots-git 0.5.0.r0.gc9137cba-1

nedludd commented on 2019-03-11 19:06 (UTC)

The build locks up my computer with a load average over 100.

Happens here:

ninja: Entering directory `/home/thermans/.cache/yay/waybar-git/src/build'
[30/55] Compiling C++ object 'waybar@exe/src_modules_sway_ipc_client.cpp.o'.

I think it's ninja's default of 6 parallel jobs at the same time. Changed to PKGBUILD to run 1 job at a time ('ninja -j 1') and it completed successfully.

chvp commented on 2019-03-11 18:29 (UTC)

Now that sway 1.0 and corresponding wlroots has been released (and added to community) the wlroots-git dependency should be changed to wlroots.

pad commented on 2019-03-01 16:30 (UTC)

could you change




git it's ont always open on private network

jplatte commented on 2019-02-11 15:39 (UTC)

Would it be possible to replace the wlroots-git dependency with just wlroots?

pad commented on 2019-02-07 14:15 (UTC) (edited on 2019-02-07 14:17 (UTC) by pad)

hi, need python-gobject and playerctl-git to work

without I have this error

Traceback (most recent call last):
  File "./", line 5, in <module>
    gi.require_version('Playerctl', '2.0')
AttributeError: module 'gi' has no attribute 'require_version'

jadesoturi commented on 2019-01-09 15:32 (UTC)

Please add as optional dependency to use the script. The playerctl from community does not provide Playerctl 2.0.

Alexays commented on 2018-12-17 08:19 (UTC)

@daenney I just added --tags, it should be fixed :)

daenney commented on 2018-12-01 15:11 (UTC) (edited on 2018-12-01 15:24 (UTC) by daenney)

I get a build error:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: sed: -e expression #1, char 17: invalid reference \1 on `s' command's RHS

The reason appears to be this:

git describe --long
fatal: No annotated tags can describe '691fb88057355ff39a3806ad4a4479037893d174'.
However, there were unannotated tags: try --tags.

That's all printed to stderr, so git describe --long 2>/dev/null results in no output, making the sed expression fail and bail out due to the set -o pipefail.

head-crash commented on 2018-11-20 06:53 (UTC)

Oddly, I am encountering the following error upon makepkg -si:

Dependency gtkmm-3.0 found: NO (tried pkgconfig) ERROR:  Dependency "gtkmm-3.0" not found, tried pkgconfig

Even though I can confirm that I have gtkmm3 installed, via pacman.

Alexays commented on 2018-11-09 08:55 (UTC) (edited on 2018-11-09 08:55 (UTC) by Alexays)

Thanks @Ranguvar!

I've made the changes :)

Ranguvar commented on 2018-11-08 18:14 (UTC)


pkgver function:

pkgver() { cd "$pkgname" ( set -o pipefail git describe --long 2>/dev/null | sed 's/([^-]*-g)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) }

Ranguvar commented on 2018-10-25 13:05 (UTC) (edited on 2018-10-26 20:39 (UTC) by Ranguvar)

I think you forgot the pkgver function :) Thanks for packaging! Latest git seems to work with this PKGBUILD and

...How do you post code blocks here?

aereaux commented on 2018-08-11 23:48 (UTC)

This package is also missing git as a build dependency.

As for the fmt thing, I think you could add a fmt 4.1.0 package to the AUR if you wanted.

BlueGone commented on 2018-08-11 09:50 (UTC) (edited on 2018-08-11 09:51 (UTC) by BlueGone)

Waybar is still in the very early stages of development. The list of dependencies therefore tends to grow rapidly, so that the AUR package will often have missing dependencies.

Because Waybar depends on fmtlib 4.1.0 and this version is unavailable on archlinux repositories, the AUR package patch the to build and link statically fmtlib to the binary. The slightest change of the on the upstream will therefore cause the build to fail until I'll release the according

I'm trying to keep track of the upstream, but this package will often be out-of-date. One generic way to fix the build is to install an earlier version of Waybar for which the AUR package has been designed, until I fix it. You just need, in the PKGBUILD, to comment the current git source, and uncomment the alternative one. Example for r70.8d5b61a9-2:

< # source=("${pkgname}::git://"
< source=("${pkgname}::git://"
> source=("${pkgname}::git://"
> # source=("${pkgname}::git://"

aereaux commented on 2018-08-11 01:20 (UTC)

Also missing libpulse as a dependency.

TimsManter commented on 2018-08-10 17:35 (UTC) (edited on 2018-08-10 17:36 (UTC) by TimsManter)

In prepare():

patching file
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 26 (offset 5 lines).
1 out of 2 hunks FAILED -- saving rejects to file

Also some dependencies are missing:

  • wireless_tools (iwlib.h file)
  • waylandpp (wayland-client.hpp file)