Highly customizable Wayland bar for Sway and Wlroots based compositors. ✌️ 🎉
Go to file
maxice8 047473e5a4
add missing <cstring> include for strncpy, fixes musl
I/usr/include/libdbusmenu-glib-0.4 -flto -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -DHAVE_SWAY -DHAVE_LIBPULSE -DHAVE_DBUSMENU -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -D_REENTRANT -pthread  -MD -MQ 'waybar@exe/src_modules_sway_ipc_client.cpp.o' -MF 'waybar@exe/src_modules_sway_ipc_client.cpp.o.d' -o 'waybar@exe/src_modules_sway_ipc_client.cpp.o' -c ../src/modules/sway/ipc/client.cpp
../src/modules/sway/ipc/client.cpp: In member function 'int waybar::modules::sway::Ipc::open(const string&) const':
../src/modules/sway/ipc/client.cpp:47:3: error: 'strncpy' was not declared in this scope
   strncpy(addr.sun_path, socketPath.c_str(), sizeof(addr.sun_path) - 1);
   ^~~~~~~
../src/modules/sway/ipc/client.cpp:47:3: note: 'strncpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
../src/modules/sway/ipc/client.cpp:2:1:
+#include <cstring>

../src/modules/sway/ipc/client.cpp:47:3:
   strncpy(addr.sun_path, socketPath.c_str(), sizeof(addr.sun_path) - 1);
   ^~~~~~~
[36/44] Compiling C++ object 'waybar@exe/src_modules_custom.cpp.o'.
[37/44] Compiling C++ object 'waybar@exe/src_client.cpp.o'.
[38/44] Compiling C++ object 'waybar@exe/src_modules_cpu.cpp.o'.
ninja: build stopped: subcommand failed.
2018-10-28 04:06:07 -03:00
include add missing <cstring> include for strncpy, fixes musl 2018-10-28 04:06:07 -03:00
package Add archlinux PKGBUILD 2018-08-09 20:50:11 +02:00
protocol meson: fix 'gio-unix-2.0' dependency 2018-10-26 23:21:03 -07:00
resources fix(tray): icons size 2018-10-26 14:53:39 +02:00
src fix(pulseaudio): check active_port is set 2018-10-27 11:23:43 +02:00
subprojects feat: init repo 2018-08-08 23:54:58 +02:00
.gitignore refactor: prefer static methods 2018-08-09 20:22:01 +02:00
.gitmodules Add archlinux PKGBUILD 2018-08-09 20:50:11 +02:00
.SRCINFO chore: v0.1.0 2018-10-25 12:15:52 +02:00
LICENSE Initial commit 2018-08-08 23:53:37 +02:00
meson_options.txt meson: make extra output directory configurable 2018-10-26 23:20:38 -07:00
meson.build Merge pull request #62 from colemickens/giounix20 2018-10-27 09:35:47 +02: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 chore: update README 2018-10-26 11:16:17 +02:00

Waybar Licence
Waybar

Proof of concept

Highly customizable Wayland bar for Sway and Wlroots based compositors.
Available on AUR

Current features

  • Sway Workspaces
  • Sway focused window name
  • Tray (Beta) #21
  • Local time
  • Battery
  • Network
  • Pulseaudio
  • Memory
  • Cpu load average
  • Custom scripts
  • And much more customizations

Configuration and Customization

See the wiki for more details.

How to build

$ git clone https://github.com/Alexays/Waybar
$ meson build
$ ninja -C build
$ ./build/waybar

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

License

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