commit 7e149ee542d4c09028f303fa9dd3556c62e17e6d parent bd98e6023418b514c77a9159eb932d705f95e594 Author: Daniel Barlow <dan@telent.net> Date: Tue, 24 Feb 2026 22:33:34 +0000 add placeholder icon (untested) Diffstat:
| M | client/default.nix | | | 12 | ++++++++++++ |
| A | client/eculocate.svg | | | 54 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/client/default.nix b/client/default.nix @@ -13,4 +13,16 @@ python3Packages.buildPythonApplication rec { zeroconf bleak ]; + postInstall = '' + install -Dm644 ${./eculocate.svg} $out/share/icons/hicolor/scalable/apps/eculocate.svg + ''; + desktopItems = [ + (makeDesktopItem { + name = "eculocate"; + desktopName = "Eculocate"; + exec = "eculocate"; + type = "Application"; + icon = "eculocate.svg"; + }) + ]; } diff --git a/client/eculocate.svg b/client/eculocate.svg @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="210mm" + height="297mm" + viewBox="0 0 210 297" + version="1.1" + id="svg1" + xml:space="preserve" + inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)" + sodipodi:docname="eculocate.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview + id="namedview1" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:showpageshadow="2" + inkscape:pageopacity="0.0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" + inkscape:document-units="mm" + inkscape:zoom="3.588899" + inkscape:cx="172.61561" + inkscape:cy="601.57726" + inkscape:window-width="1706" + inkscape:window-height="904" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:current-layer="layer1" /><defs + id="defs1" /><g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"><text + xml:space="preserve" + style="font-weight:600;font-size:6.35px;line-height:1.25;font-family:FreeSans;-inkscape-font-specification:'FreeSans, Semi-Bold';font-variant-ligatures:none;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;stroke-width:0.264583" + x="46.547497" + y="151.01125" + id="text8"><tspan + sodipodi:role="line" + id="tspan8" + style="stroke-width:0.264583" + x="46.547497" + y="151.01125">ECU</tspan></text><rect + style="fill:#000080;stroke:#000080;stroke-width:0.564999;stroke-linecap:round;stroke-linejoin:round;fill-opacity:0" + id="rect8" + width="19.389071" + height="13.564978" + x="36.935074" + y="141.84248" /></g></svg>