Find a file
Friday 817918315e
nix: use gcc15 (#17)
also updated dependencies
2025-06-05 18:49:20 +01:00
.github/workflows CI: remove deprecated magic-nix-cache-action 2025-02-08 23:10:28 +02:00
nix Nix: add cross-build package 2024-06-11 18:21:15 +03:00
src core: member + designated init and remove redundant cast (#14) 2025-02-18 10:21:20 +01:00
.clang-format Initial commit 2024-04-20 01:06:51 +01:00
.gitignore Initial commit 2024-04-20 01:06:51 +01:00
CMakeLists.txt cmake: Make CMAKE builds arch independent (#16) 2025-05-18 18:04:58 +02:00
flake.lock nix: use gcc15 (#17) 2025-06-05 18:49:20 +01:00
flake.nix nix: use gcc15 (#17) 2025-06-05 18:49:20 +01:00
hyprwayland-scanner-config.cmake.in cmake: add hpp header as target dependency (#4) 2024-05-13 14:56:29 +01:00
hyprwayland-scanner.pc.in add pkg-config file 2024-04-20 13:56:27 +03:00
LICENSE Initial commit 2024-04-20 01:06:51 +01:00
README.md README: clarify function 2024-09-21 00:27:16 +01:00
VERSION version: bump to 0.4.4 2024-12-29 18:31:14 +01:00

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