Go to file
alan (NyxTrail) 9606635565
Update d/copyright year
2025-03-16 11:30:07 +00:00
.github/workflows New upstream version 0.3.10 2024-06-14 08:57:22 +00:00
debian Update d/copyright year 2025-03-16 11:30:07 +00:00
nix New upstream version 0.4.2 2024-09-22 09:07:19 +00:00
src New upstream version 0.4.4 2025-03-02 10:20:27 +00:00
.clang-format New upstream version 0.3.10 2024-06-14 08:57:22 +00:00
.gitignore New upstream version 0.3.10 2024-06-14 08:57:22 +00:00
CMakeLists.txt New upstream version 0.4.2 2024-09-22 09:07:19 +00:00
LICENSE New upstream version 0.3.10 2024-06-14 08:57:22 +00:00
README.md New upstream version 0.4.4 2025-03-02 10:20:27 +00:00
VERSION New upstream version 0.4.4 2025-03-02 10:20:27 +00:00
flake.lock New upstream version 0.4.4 2025-03-02 10:20:27 +00:00
flake.nix New upstream version 0.4.4 2025-03-02 10:20:27 +00:00
hyprwayland-scanner-config.cmake.in New upstream version 0.3.10 2024-06-14 08:57:22 +00:00
hyprwayland-scanner.pc.in New upstream version 0.3.10 2024-06-14 08:57:22 +00:00

README.md

hyprwayland-scanner

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.

Usage

hyprwayland-scanner '/path/to/proto' '/path/to/output/directory'

Options

  • --client -> generate client code
  • --wayland-enums -> use wayland enum naming (snake instead of camel)

Dependencies

Requires a compiler with C++23 support.

Dep list:

  • pugixml

Building

cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build -j `nproc`

Installation

sudo cmake --install build