Replace static input region with a dynamically updated wl_region that follows the cursor. The full screen receives pointer events except for a 512px hole around the cursor position, allowing clicks and scrolls to pass through to the desktop. Cursor avoidance shader updates in sync.
20 lines
558 B
TOML
20 lines
558 B
TOML
[package]
|
|
name = "ringa"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Wayland ring light overlay"
|
|
authors = ["Stephen Waits <steve@waits.net>"]
|
|
rust-version = "1.85"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
bytemuck = { version = "1", features = ["derive"] }
|
|
niri-ipc = "25.11.0"
|
|
nix = { version = "0.29", features = ["signal", "process", "poll"] }
|
|
pollster = "0.4"
|
|
raw-window-handle = "0.6"
|
|
wayland-backend = { version = "0.3", features = ["client_system"] }
|
|
wayland-client = "0.31"
|
|
wayland-protocols-wlr = { version = "0.3", features = ["client"] }
|
|
wgpu = "29"
|