init with waymini

This commit is contained in:
2026-07-03 22:29:37 -07:00
commit b3ef2f0046
13 changed files with 3138 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
XML="/usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml"
if [ ! -f "$XML" ]; then
echo "Cannot find xdg-shell XML at: $XML" >&2
exit 1
fi
OUTDIR="."
mkdir -p "$OUTDIR"
wayland-scanner client-header "$XML" "$OUTDIR/xdg-shell-client-protocol.h"
wayland-scanner private-code "$XML" "$OUTDIR/xdg-shell-client-protocol.c"
echo "Generated:"
ls -l "$OUTDIR/xdg-shell-client-protocol.h" "$OUTDIR/xdg-shell-client-protocol.c"