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

commitaf780e16d2a3db2bf1a5bf3e46165ee20158162c
parent450b00627f
authorLucas Galante <[email protected]>
date2026-08-27 15:17
icons: default to ~/projects/cce, the workspace's new home

The tree moved out of ~/Dropbox on 2026-08-27 — 432k of its 444k files
were cargo build artifacts, so Dropbox spent its time re-hashing a
directory that regenerates itself. This default was the only path in
the toolkit that assumed a checkout location; $CCE_ICONS_DIR still
overrides it.

Co-Authored-By: Claude Fable 5 <[email protected]>

 src/lib.rs | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/lib.rs b/src/lib.rs
index 963675d..7fdac0f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -51,11 +51,17 @@ pub fn fonts_dir() -> String {
 }
 
 /// Directory the bundled cce-icons SVGs are loaded from: `$CCE_ICONS_DIR`, else
-/// `~/Dropbox/cce/cce-icons/svg`.
+/// `~/projects/cce/cce-icons/svg`.
+///
+/// The workspace moved out of ~/Dropbox on 2026-08-27: 432k of its 444k files
+/// were cargo build artifacts, and syncing them kept Dropbox re-hashing a tree
+/// that regenerates itself. Set `$CCE_ICONS_DIR` if yours lives elsewhere —
+/// this default is the only path in the toolkit that assumes a checkout
+/// location.
 pub fn icons_dir() -> String {
     std::env::var("CCE_ICONS_DIR").unwrap_or_else(|_| {
         let home = std::env::var("HOME").unwrap_or_default();
-        format!("{home}/Dropbox/cce/cce-icons/svg")
+        format!("{home}/projects/cce/cce-icons/svg")
     })
 }