git.lucas.co / cce-fonts
font browser

commit4ddaca686a65ed24587d84db4c47b97f41f88960
parent25d7a70eb5
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-fonts.desktop | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/cce-fonts.desktop b/cce-fonts.desktop
new file mode 100644
index 0000000..a381d3f
--- /dev/null
+++ b/cce-fonts.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=CCE Fonts
+Comment=Font preview and management
+Exec=cce-fonts
+Icon=preferences-desktop-font
+Categories=Graphics;Settings;System;
+Terminal=false
+StartupWMClass=cce-fonts