package xcursor

  1. Overview
  2. Docs
A pure implementation of Xcursor in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

xcursor-0.1.0.tbz
sha256=07eb44dcc4ecf6c796855515b0c69eba4bc06dab2b8fc7ed2db18a26ff651329
sha512=710d55d1cacec24bf5258214228a08f9bdae08711f3b17733970c77892b15574997b60a6e41e68d93fcebdeeb30703db4cc9554da7b4a867401aca454c3027b2

Description

Xcursor is a de-facto standard for using cursors on Linux systems from Freedesktop. It defines a set of standard paths to search, a file format and a configuration format for users to customise cursors for desktop applications.

Tags

desktop gui cursor xcursor

Published: 24 Dec 2022

README

README.org

* xcursor

xcursor is a pure implementation of the ~xcursor~ format which is used to parse cursors for both X and Wayland.

** Examples

Exampes are found in the ~./examples~ directory.

*** wayland_example

Creates a wayland surface which sets the cursor on entry. The first argument is a path to the cursor file to use.
An example cursor file is bundled in the project under ~./test/Adwaita/cursors/pointer~.

#+BEGIN_SRC bash
    dune exec example/wayland_example.exe -- ./test/Adwaita/cursors/pointer
#+END_SRC

Dependencies (4)

  1. angstrom >= "0.15.0"
  2. bigstringaf >= "0.9.0"
  3. ocaml >= "4.13.0"
  4. dune >= "3.6"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None