git.lucas.co / cce-data-editor
structured data editor
git clone https://git.lucas.co/cce-data-editor.git

commit2d8e734c42bd44999428f1629e8eb75482e036fb
parente662aa28fd
authorLucas Galante <[email protected]>
date2026-08-16 10:55
feat: ship the .desktop entry in this repo

The entry lived only in ~/.local/share/applications, hand-written and unversioned — the workspace root is not a git repo, so nothing written there survives a fresh clone. It now sits at the crate root, next to Cargo.toml and any unit file the crate ships, and `ccebuild install` deploys it.

Exec drops the hardcoded /home/lsgalante/.local/bin prefix for a bare binary name: ~/.local/bin leads the session PATH and the launcher spawns through `sh -c`, so the name resolves without baking a home directory into the file.

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

 cce-data-editor.desktop | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/cce-data-editor.desktop b/cce-data-editor.desktop
new file mode 100644
index 0000000..d2bcd68
--- /dev/null
+++ b/cce-data-editor.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=Data Editor
+Comment=JSON data editor for clear-ui
+Exec=cce-data-editor %F
+Icon=preferences-system
+Categories=Utility;Development;
+Terminal=false
+StartupNotify=true
+StartupWMClass=cce-data-editor
+MimeType=application/json;