git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit2fecf8a22e42dbc950fa45bbdfe8c9a085dd8a48
parent32b28d2e65
authorLucas Galante <[email protected]>
date2026-06-30 18:12
Extract cce-wallpaper into its own project

 Cargo.toml           |  4 ----
 Makefile             |  3 ---
 src/bin/wallpaper.rs | 10 ----------
 3 files changed, 17 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index accf691..a0cb603 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,10 +29,6 @@ cc = "1.0"
 name = "cce-fx"
 path = "src/bin/cce.rs"
 
-[[bin]]
-name = "cce-wallpaper"
-path = "src/bin/wallpaper.rs"
-
 [profile.release]
 debug = true
 
diff --git a/Makefile b/Makefile
index 502ffdb..7382053 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,6 @@ install: build
 	else \
 		echo "Error: cce-fx binary not found"; exit 1; \
 	fi
-	@if [ -f ../target/release/cce-wallpaper ]; then \
-		install -m 755 ../target/release/cce-wallpaper ~/.local/bin/cce-wallpaper; \
-	fi
 	install -m 755 scripts/cce-desktop-menu ~/.local/bin/cce-desktop-menu
 	install -m 755 scripts/cce-app-menu ~/.local/bin/cce-app-menu
 
diff --git a/src/bin/wallpaper.rs b/src/bin/wallpaper.rs
deleted file mode 100644
index 4a2de94..0000000
--- a/src/bin/wallpaper.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-use std::env;
-
-fn main() {
-    println!("cce-wallpaper: standalone background renderer service starting...");
-    if let Ok(display) = env::var("WAYLAND_DISPLAY") {
-        println!("Connected to compositor WAYLAND_DISPLAY: {}", display);
-    } else {
-        println!("Error: WAYLAND_DISPLAY environment variable not set.");
-    }
-}