git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commitd4b7f4ca44b8113d3858f7dd125692168c990872
parentbdafe8e68d
authorLucas Galante <[email protected]>
date2026-06-20 22:29
Separate window_opacity and menubar_opacity configuration in cce-ui

 src/color.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/color.rs b/src/color.rs
index 9037d00..86a797c 100644
--- a/src/color.rs
+++ b/src/color.rs
@@ -95,7 +95,7 @@ fn parse_and_set_colors(content: &str) {
         }
     };
 
-    if let Some(opacity) = val.pointer("/transparency/opacity").and_then(|v| v.as_f64()) {
+    if let Some(opacity) = val.pointer("/layout/menubar_opacity").and_then(|v| v.as_f64()) {
         if let Ok(mut lock) = OPACITY.write() {
             *lock = Some(opacity as f32);
         }