style: nix fmt hive-xdg-icons.nix (treefmt)
This commit is contained in:
parent
ba5a0e1a66
commit
39af2bad5d
1 changed files with 38 additions and 38 deletions
|
|
@ -36,45 +36,45 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
# Per-size hicolor tree
|
||||
for size in 16 32 48 64 128 256; do
|
||||
mkdir -p "$out/share/icons/hicolor/''${size}x''${size}/apps"
|
||||
cp "icons/hyperhive-''${size}.png" \
|
||||
"$out/share/icons/hicolor/''${size}x''${size}/apps/hyperhive.png"
|
||||
done
|
||||
# Flat pixmaps fallback (48px)
|
||||
mkdir -p "$out/share/pixmaps"
|
||||
cp icons/hyperhive-48.png "$out/share/pixmaps/hyperhive.png"
|
||||
runHook preInstall
|
||||
# Per-size hicolor tree
|
||||
for size in 16 32 48 64 128 256; do
|
||||
mkdir -p "$out/share/icons/hicolor/''${size}x''${size}/apps"
|
||||
cp "icons/hyperhive-''${size}.png" \
|
||||
"$out/share/icons/hicolor/''${size}x''${size}/apps/hyperhive.png"
|
||||
done
|
||||
# Flat pixmaps fallback (48px)
|
||||
mkdir -p "$out/share/pixmaps"
|
||||
cp icons/hyperhive-48.png "$out/share/pixmaps/hyperhive.png"
|
||||
|
||||
# .desktop entries — NoDisplay so they don't show up in app launchers
|
||||
# but are still discovered by process-to-icon matchers (GNOME, etc.).
|
||||
mkdir -p "$out/share/applications"
|
||||
cat > "$out/share/applications/hive-c0re.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=hyperhive core
|
||||
GenericName=hive-c0re
|
||||
Comment=hyperhive host daemon — container lifecycle, broker, operator dashboard
|
||||
Exec=hive-c0re serve
|
||||
Icon=hyperhive
|
||||
Categories=System;
|
||||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
EOF
|
||||
cat > "$out/share/applications/hive-ag3nt.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=hyperhive agent
|
||||
GenericName=hive-ag3nt
|
||||
Comment=hyperhive per-agent harness (claude turn loop + MCP server)
|
||||
Exec=hive serve
|
||||
Icon=hyperhive
|
||||
Categories=System;
|
||||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
EOF
|
||||
runHook postInstall
|
||||
# .desktop entries — NoDisplay so they don't show up in app launchers
|
||||
# but are still discovered by process-to-icon matchers (GNOME, etc.).
|
||||
mkdir -p "$out/share/applications"
|
||||
cat > "$out/share/applications/hive-c0re.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=hyperhive core
|
||||
GenericName=hive-c0re
|
||||
Comment=hyperhive host daemon — container lifecycle, broker, operator dashboard
|
||||
Exec=hive-c0re serve
|
||||
Icon=hyperhive
|
||||
Categories=System;
|
||||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
EOF
|
||||
cat > "$out/share/applications/hive-ag3nt.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=hyperhive agent
|
||||
GenericName=hive-ag3nt
|
||||
Comment=hyperhive per-agent harness (claude turn loop + MCP server)
|
||||
Exec=hive serve
|
||||
Icon=hyperhive
|
||||
Categories=System;
|
||||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
EOF
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontFixup = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue