7 Commits
Author SHA1 Message Date
swaits f0fa2866f2 fix: remove auto-exit timer and smooth cursor tracking
Remove the 10-second display timer so the overlay runs until toggled
off. Shrink the cursor input hole from 512px to 48px for near-pixel-
perfect tracking instead of chunky jumps.
2026-04-07 13:10:24 -06:00
swaits dac98835f8 chore: add LICENSE, README, CHANGELOG, and publish metadata
Add MIT license, README with usage/install instructions and hotkey
binding examples, CHANGELOG for v0.1.0, and complete Cargo.toml
metadata (repository, homepage, keywords, categories). Remove unused
niri-ipc dependency.
2026-04-07 12:30:37 -06:00
swaits 421bd04339 fix: instant toggle exit via SIGUSR1 poll interruption
Remove SA_RESTART from the signal handler so SIGUSR1 interrupts the
blocking poll() call with EINTR. Handle EINTR gracefully in the event
loop to check should_exit() immediately instead of waiting for timeout.
2026-04-07 12:28:42 -06:00
swaits d73ba4af11 feat: full desktop passthrough with dynamic cursor hole
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.
2026-04-07 12:28:40 -06:00
swaits dacc631d57 fix: use rounded-square SDF for cursor avoidance hole
Replace Chebyshev distance with a rounded box SDF for the cursor
avoidance shape. Eliminates diagonal artifacts where the sharp corners
of a pure square distance field intersected the ring geometry.
2026-04-07 12:28:38 -06:00
swaits bdd3482b75 feat!: replace CPU rendering with GPU via wgpu/WGSL
Drop tiny-skia and tempfile. All rendering now runs on the GPU using a
WGSL fragment shader with rounded-rect SDF, gaussian glow falloff, and
cursor avoidance. Add color temperature support with presets (warm, cool,
studio, daylight, golden) and custom Kelvin values. Suppress MangoHUD
via environment variable.
2026-04-07 12:28:36 -06:00
swaits 81d6237e2f feat: initial project with CPU-rendered ring light overlay
Wayland layer-shell overlay using tiny-skia for rendering a glowing
rounded rectangle ring. Includes PID-based lock file toggle via SIGUSR1,
keyboard capture (Escape to exit), and pointer tracking for cursor
avoidance. Configurable ring geometry and glow parameters.
2026-04-07 12:28:32 -06:00