git.lucas.co / cce-text-editor
text editor
git clone https://git.lucas.co/cce-text-editor.git

commit6351b2e3d21743ac08201831ec7e5e97fd18c545
parenta65cef90ec
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-text-editor.desktop | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/cce-text-editor.desktop b/cce-text-editor.desktop
new file mode 100644
index 0000000..d7297fb
--- /dev/null
+++ b/cce-text-editor.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=Clear Text Editor
+Comment=Text editor for clear-ui
+Exec=cce-text-editor %F
+Icon=accessories-text-editor
+Categories=Utility;TextEditor;Development;
+Terminal=false
+StartupNotify=true
+StartupWMClass=cce-text-editor
+MimeType=text/plain;