Waybright is a work-in-progress dart library utilizing wlroots for building
wayland compositors.
Only for Linux (and probably WSL).
Use this library if you dare. 🙃
- wayland (v1.21.93)
- wayland-protocols (v1.27)
- wlroots (v0.16.2)
- make
There may be breaking changes, so it's recommended to reference a specific
commit SHA when adding this dependency to your project's pubspec.yaml.
Example:
# ...
dependencies:
waybright:
git:
url: https://github.com/brighta19/waybright.git
ref: <commit SHA>
# ...The current working directory of a running dart program must also contain
waybright.so, a custom shared library. Whatever directory you run a dart
project must also have waybright.so This may or may not be the root directory
of the dart project. See the example.
To create it,
simply run in the root directory:
> makeThen move or copy build/waybright.so into your own project.
Building waybright.so also produces a copy in /example, so simply run the
main.dart program:
> cd example
> dart run main.dartGenerate the (very little) documentation using this command:
dart doc