summaryrefslogtreecommitdiff
path: root/scripts/generate.sh
diff options
context:
space:
mode:
authormtgmonkey <mtgmonkey@nixos>2025-12-11 18:15:32 +0100
committermtgmonkey <mtgmonkey@nixos>2025-12-11 18:15:32 +0100
commit8a16c6695e62de46c4f0cce22ff48276040bcfff (patch)
tree23786224830e40708ec4af0ae321f30e98f7aa27 /scripts/generate.sh
parentab69702910741af752ff7ee5820bb85b1f3ddd5c (diff)
basic functionality on Wayland and X11
Diffstat (limited to 'scripts/generate.sh')
-rwxr-xr-xscripts/generate.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/generate.sh b/scripts/generate.sh
new file mode 100755
index 0000000..dfa85dd
--- /dev/null
+++ b/scripts/generate.sh
@@ -0,0 +1,13 @@
+wayland-scanner client-header /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml lib/xdg-shell.h
+wayland-scanner public-code /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml lib/xdg-shell.c
+wayland-scanner client-header /usr/share/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml lib/xdg-decoration-unstable-v1.h
+wayland-scanner public-code /usr/share/wayland-protocols/staging/xdg-toplevel-icon/xdg-toplevel-icon-v1.xml lib/xdg-toplevel-icon-v1.c
+wayland-scanner client-header /usr/share/wayland-protocols/staging/xdg-toplevel-icon/xdg-toplevel-icon-v1.xml lib/xdg-toplevel-icon-v1.h
+wayland-scanner public-code /usr/share/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml lib/xdg-decoration-unstable-v1.c
+wayland-scanner client-header /usr/share/wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml lib/relative-pointer-unstable-v1.h
+wayland-scanner public-code /usr/share/wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml lib/relative-pointer-unstable-v1.c
+wayland-scanner client-header /usr/share/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml lib/pointer-constraints-unstable-v1.h
+wayland-scanner public-code /usr/share/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml lib/pointer-constraints-unstable-v1.c
+wayland-scanner client-header /usr/share/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml lib/xdg-output-unstable-v1.h
+wayland-scanner public-code /usr/share/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml lib/xdg-output-unstable-v1.c
+true