24 lines
899 B
Diff
24 lines
899 B
Diff
--- a/crates/cursor-overlay/src/lib.rs
|
|
+++ b/crates/cursor-overlay/src/lib.rs
|
|
@@ -5,6 +5,8 @@
|
|
//! - `MotionConfig` — glide duration, spring, dwell, idle-hide timings
|
|
//! - `CubicBezier` + `PathPlanner` — Bezier path math (ported 1:1 from C#)
|
|
//! - `OverlayCommand` — messages sent from MCP tools to the overlay thread
|
|
+
|
|
+mod lazyboy_color;
|
|
|
|
pub mod badge_glyphs;
|
|
pub mod bezier;
|
|
--- a/crates/cursor-overlay/src/theme.rs
|
|
+++ b/crates/cursor-overlay/src/theme.rs
|
|
@@ -39,6 +39,9 @@
|
|
/// hash into the former multi-cursor palette so concurrent runs are visually
|
|
/// distinct without accepting an agent-controlled styling argument.
|
|
pub fn session_fill_rgba(session_id: &str) -> [u8; 4] {
|
|
+ if let Some(color) = crate::lazyboy_color::configured_color() {
|
|
+ return color;
|
|
+ }
|
|
if session_id.is_empty() || session_id == "default" {
|
|
return DEFAULT_CURSOR_FILL;
|
|
}
|