Thanks to visit codestin.com
Credit goes to github.com

Skip to content

brighta19/waybright

Repository files navigation

waybright

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. 🙃


Dependencies

  • wayland (v1.21.93)
  • wayland-protocols (v1.27)
  • wlroots (v0.16.2)
  • make

Using waybright

pubspec.yaml

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>
# ...

waybright.so

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:

> make

Then move or copy build/waybright.so into your own project.

Running the example

Building waybright.so also produces a copy in /example, so simply run the main.dart program:

> cd example
> dart run main.dart

Documentation

Generate the (very little) documentation using this command:

dart doc

About

a dart library for creating wayland compositors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published