summaryrefslogtreecommitdiff
path: root/get_wl.sh
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-04-26 10:39:46 +0200
committerandromeda <andromeda@lenovo>2026-04-26 10:39:46 +0200
commit5029ef79ae53980584e5bd022fdb1430d9664f76 (patch)
tree50073d056fcc3c5f81597936967fcab4196e2a1b /get_wl.sh
parent70dd03297c941335cc19915f1140a69d2a10e150 (diff)
add readme, dev shell, build script
Diffstat (limited to 'get_wl.sh')
-rwxr-xr-xget_wl.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/get_wl.sh b/get_wl.sh
new file mode 100755
index 0000000..6136480
--- /dev/null
+++ b/get_wl.sh
@@ -0,0 +1,16 @@
+mkdir -p wl/
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/stable/xdg-shell/xdg-shell.xml wl/xdg-shell.h
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/staging/pointer-warp/pointer-warp-v1.xml wl/pointer-warp-v1.h
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/staging/xdg-toplevel-icon/xdg-toplevel-icon-v1.xml wl/xdg-toplevel-icon-v1.h
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml wl/xdg-decoration-unstable-v1.h
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml wl/relative-pointer-unstable-v1.h
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml wl/pointer-constraints-unstable-v1.h
+wayland-scanner client-header $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml wl/xdg-output-unstable-v1.h
+
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/stable/xdg-shell/xdg-shell.xml wl/xdg-shell.c
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/staging/pointer-warp/pointer-warp-v1.xml wl/pointer-warp-v1.c
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/staging/xdg-toplevel-icon/xdg-toplevel-icon-v1.xml wl/xdg-toplevel-icon-v1.c
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml wl/xdg-decoration-unstable-v1.c
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml wl/relative-pointer-unstable-v1.c
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml wl/pointer-constraints-unstable-v1.c
+wayland-scanner private-code $(pkg-config --variable datarootdir wayland-protocols)/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml wl/xdg-output-unstable-v1.c