data: add app icon, desktop entry, and install script
This commit is contained in:
parent
668c73c8d2
commit
85b05a14bc
3 changed files with 99 additions and 0 deletions
57
data/icons/net.jeena.FeedTheMonkey.svg
Normal file
57
data/icons/net.jeena.FeedTheMonkey.svg
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128">
|
||||||
|
<!-- Background rounded rectangle -->
|
||||||
|
<rect x="4" y="4" width="120" height="120" rx="28" ry="28" fill="#c0632a"/>
|
||||||
|
<rect x="4" y="4" width="120" height="120" rx="28" ry="28" fill="url(#bggrad)"/>
|
||||||
|
|
||||||
|
<defs>
|
||||||
|
<radialGradient id="bggrad" cx="50%" cy="35%" r="65%">
|
||||||
|
<stop offset="0%" stop-color="#d97a38"/>
|
||||||
|
<stop offset="100%" stop-color="#a04f1c"/>
|
||||||
|
</radialGradient>
|
||||||
|
<radialGradient id="facegrad" cx="50%" cy="40%" r="55%">
|
||||||
|
<stop offset="0%" stop-color="#c8813a"/>
|
||||||
|
<stop offset="100%" stop-color="#8b5220"/>
|
||||||
|
</radialGradient>
|
||||||
|
<radialGradient id="eargrad" cx="50%" cy="40%" r="55%">
|
||||||
|
<stop offset="0%" stop-color="#e8b060"/>
|
||||||
|
<stop offset="100%" stop-color="#c07830"/>
|
||||||
|
</radialGradient>
|
||||||
|
</defs>
|
||||||
|
|
||||||
|
<!-- Ears -->
|
||||||
|
<ellipse cx="26" cy="68" rx="14" ry="16" fill="#8b5220"/>
|
||||||
|
<ellipse cx="26" cy="68" rx="9" ry="11" fill="url(#eargrad)"/>
|
||||||
|
<ellipse cx="102" cy="68" rx="14" ry="16" fill="#8b5220"/>
|
||||||
|
<ellipse cx="102" cy="68" rx="9" ry="11" fill="url(#eargrad)"/>
|
||||||
|
|
||||||
|
<!-- Head -->
|
||||||
|
<ellipse cx="64" cy="64" rx="42" ry="44" fill="url(#facegrad)"/>
|
||||||
|
|
||||||
|
<!-- Eyes -->
|
||||||
|
<ellipse cx="50" cy="55" rx="9" ry="10" fill="white"/>
|
||||||
|
<ellipse cx="78" cy="55" rx="9" ry="10" fill="white"/>
|
||||||
|
<circle cx="52" cy="57" r="5.5" fill="#1a1a1a"/>
|
||||||
|
<circle cx="80" cy="57" r="5.5" fill="#1a1a1a"/>
|
||||||
|
<circle cx="53.5" cy="55" r="1.8" fill="white"/>
|
||||||
|
<circle cx="81.5" cy="55" r="1.8" fill="white"/>
|
||||||
|
|
||||||
|
<!-- Muzzle -->
|
||||||
|
<ellipse cx="64" cy="79" rx="22" ry="16" fill="#e8c08a"/>
|
||||||
|
|
||||||
|
<!-- Nose -->
|
||||||
|
<ellipse cx="58" cy="72" rx="4" ry="2.5" fill="#6b3a10"/>
|
||||||
|
<ellipse cx="70" cy="72" rx="4" ry="2.5" fill="#6b3a10"/>
|
||||||
|
<line x1="64" y1="72" x2="64" y2="77" stroke="#6b3a10" stroke-width="1.5"/>
|
||||||
|
|
||||||
|
<!-- Mouth / smile -->
|
||||||
|
<path d="M 50 82 Q 64 92 78 82" stroke="#6b3a10" stroke-width="2" fill="none" stroke-linecap="round"/>
|
||||||
|
|
||||||
|
<!-- Teeth -->
|
||||||
|
<rect x="56" y="82" width="8" height="5" rx="1" fill="white"/>
|
||||||
|
<rect x="65" y="82" width="8" height="5" rx="1" fill="white"/>
|
||||||
|
|
||||||
|
<!-- Eyebrows -->
|
||||||
|
<path d="M 42 46 Q 50 42 58 46" stroke="#6b3a10" stroke-width="2.5" fill="none" stroke-linecap="round"/>
|
||||||
|
<path d="M 70 46 Q 78 42 86 46" stroke="#6b3a10" stroke-width="2.5" fill="none" stroke-linecap="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.3 KiB |
11
data/net.jeena.FeedTheMonkey.desktop
Normal file
11
data/net.jeena.FeedTheMonkey.desktop
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=FeedTheMonkey
|
||||||
|
GenericName=Feed Reader
|
||||||
|
Comment=A desktop client for the Tiny Tiny RSS feed reader
|
||||||
|
Exec=feedthemonkey
|
||||||
|
Icon=net.jeena.FeedTheMonkey
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;News;GTK;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=feedthemonkey
|
||||||
31
install.sh
Executable file
31
install.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Install FeedTheMonkey system-wide (requires root or sudo).
|
||||||
|
# Run after: cargo build --release
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
PREFIX="${PREFIX:-/usr/local}"
|
||||||
|
BINARY="target/release/feedthemonkey"
|
||||||
|
|
||||||
|
if [ ! -f "$BINARY" ]; then
|
||||||
|
echo "Binary not found. Run 'cargo build --release' first."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
install -Dm755 "$BINARY" "$PREFIX/bin/feedthemonkey"
|
||||||
|
install -Dm644 data/net.jeena.FeedTheMonkey.desktop \
|
||||||
|
"$PREFIX/share/applications/net.jeena.FeedTheMonkey.desktop"
|
||||||
|
install -Dm644 data/icons/net.jeena.FeedTheMonkey.svg \
|
||||||
|
"$PREFIX/share/icons/hicolor/scalable/apps/net.jeena.FeedTheMonkey.svg"
|
||||||
|
|
||||||
|
# Install GSettings schema
|
||||||
|
install -Dm644 data/net.jeena.FeedTheMonkey.gschema.xml \
|
||||||
|
"$PREFIX/share/glib-2.0/schemas/net.jeena.FeedTheMonkey.gschema.xml"
|
||||||
|
glib-compile-schemas "$PREFIX/share/glib-2.0/schemas/"
|
||||||
|
|
||||||
|
# Update icon cache if gtk-update-icon-cache is available
|
||||||
|
if command -v gtk-update-icon-cache &>/dev/null; then
|
||||||
|
gtk-update-icon-cache -f -t "$PREFIX/share/icons/hicolor"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Installed to $PREFIX"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue