Yes another task bar for Wayland.
This is a simple taskbar that can be used in wayland compositors that implements foreign-toplevel and layer-shell protocols. It can be configured with a simple settings file written in JSON.
- Taskbar (focus on click; toggle maximize on second click; close on middleclick)
- Launchers on the left and right side
- Tooltips
- Icon theme setting
- Clock
- Style colors and size
- Top or bottom position
Dependencies are:
- cmake
- C++17 compiler
- wayland-scanner++
- libcairo
- libRSVG
- jsoncpp
sudo pacman -S pkgconf waylandpp cairo librsvg wayland-protocols jsoncpp
sudo apt install pkgconf wayland-scanner++ libjsoncpp-dev wayland-protocols waylandpp-dev librsvg2-dev
Fix for "fatal error:json/json.h: No such file or directory" create a symlink:
sudo ln -s /usr/include/jsoncpp/json/ /usr/include/json
Then run these comands:
mkdir build
cd build
cmake ..
make
sudo make install
This will install in /usr/local
. To install in /usr
use cmake .. -DCMAKE_INSTALL_PREFIX=/usr
instead.
Then edit "~/.config/yatbfw.json" to configure your taskbar.
In the example folder you can find examples of how to configure it.