cdepillabout / cdepillabout/break-time

add support for wayland

Open
#4 0 comments 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Rust
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Currently break-time only supports X, not Wayland. It would be nice to extend break-time to also be usable on Wayland.

The X-specific places in the code can be found by grepping for `xcb` (which is the Rust library binding to the XCB system library, used for manipulating and querying X).

I'm not sure the best way to support both X and Wayland, but maybe all of the X-specific code could be pulled to a single module, and have a separate module with the same interface for Wayland. These could be switched at compile-time with Rust feature flags.

A similar thing could be done to support other platforms like OSX or Windows, but that is somewhat out of scope for this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.