A Hyprland implementation of wayland-scanner, in and for C++.
hw-s automatically generates properly RAII-ready, modern C++ bindings for Wayland protocols, for either servers or clients.
hyprwayland-scanner '/path/to/proto' '/path/to/output/directory'
--client
-> generate client code--wayland-enums
-> use wayland enum naming (snake instead of camel)
Requires a compiler with C++23 support.
Dep list:
- pugixml
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build -j `nproc`
sudo cmake --install build