chore: initial commit

This commit is contained in:
wfx 2026-01-07 20:22:49 +01:00
commit ab93f649bd
31 changed files with 9918 additions and 0 deletions

13
resources/app.desktop Normal file
View file

@ -0,0 +1,13 @@
[Desktop Entry]
Name=Noctua
Comment=A wise document and image viewer for the COSMIC desktop
Type=Application
Icon=org.codeberg.wfx.Noctua
Exec=noctua %F
Terminal=false
Type=Application
StartupNotify=true
Categories=Graphics;Viewer;Utility;
StartupWMClass=noctua
Keywords=image;document;pdf;viewer;cosmic;
MimeType=

View file

@ -0,0 +1,50 @@
<!-- SPDX-License-Identifier: MPL-2.0 -->
<!-- resources/app.metainfo.xml -->
<!-- AppStream metadata for software centers (e.g., COSMIC Store, GNOME Software, KDE Discover). -->
<?xml version="1.0" encoding="UTF-8" ?>
<component type="desktop-application">
<id>org.codeberg.wfx.Noctua</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MPL-2.0</project_license>
<name>Noctua</name>
<summary>A wise document and image viewer for the COSMIC™ desktop</summary>
<description>
<p>
Noctua is a lightweight, mouse, touch and keyboard-driven viewer for images, PDFs, and vector graphics.
Built with Rust and libcosmic, it integrates seamlessly with COSMIC™ and GTK-based desktops.
</p>
</description>
<icon type="remote" width="64" height="64" scale="1">
https://codeberg.org/wfx/comsic-image-viewer/raw/main/resources/icons/hicolor/scalable/apps/icon.svg
</icon>
<url type="vcs-browser">https://codeberg.org/wfx/comsic-image-viewer</url>
<launchable type="desktop-id">org.codeberg.wfx.Noctua.desktop</launchable>
<provides>
<id>org.codeberg.wfx.Noctua</id>
<binaries>
<binary>noctua</binary>
</binaries>
</provides>
<requires>
<display_length compare="ge">360</display_length>
</requires>
<supports>
<control>keyboard</control>
<control>pointing</control>
<control>touch</control>
</supports>
<categories>
<category>Graphics</category>
<category>Viewer</category>
<category>Utility</category>
</categories>
<keywords>
<keyword>image</keyword>
<keyword>document</keyword>
<keyword>pdf</keyword>
<keyword>viewer</keyword>
<keyword>cosmic</keyword>
</keywords>
<content_rating type="oars-1.1" />
</component>

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg"/>

After

Width:  |  Height:  |  Size: 102 B

View file

@ -0,0 +1,31 @@
<!-- SPDX-License-Identifier: MPL-2.0 -->
<!-- resources/icons/hicolor/scalable/apps/org.noctua.Noctua.svg -->
<!-- Stylized owl icon for Noctua, with one eye as a document/magnifying glass. -->
<svg width="256" height="256" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<!-- Background circle (optional, for contrast) -->
<circle cx="12" cy="12" r="10" fill="#2a2a4a" opacity="0.8"/>
<!-- Owl body (stylized) -->
<path d="M12 4C7 4 3 8 3 13v6l4-2 4 2 4-2 4 2v-6c0-5-4-9-9-9z"
fill="#2a2a4a" stroke="#e0e0e0" stroke-width="0.3"/>
<!-- Left eye (normal, small) -->
<circle cx="8" cy="10" r="1.8" fill="#ffd700" stroke="#333" stroke-width="0.2"/>
<circle cx="8" cy="10" r="0.8" fill="#333"/>
<!-- Right eye (document/magnifying glass, large) -->
<rect x="14" y="8" width="3" height="4" fill="white" rx="0.5" stroke="#333" stroke-width="0.2"/>
<path d="M15.5 9.5h-2v1h2v-1z" fill="#333" opacity="0.3"/> <!-- Document lines -->
<path d="M15.5 11.5h-2v1h2v-1z" fill="#333" opacity="0.3"/>
<path d="M15.5 10.5h-1v1h1v-1z" fill="#333" opacity="0.3"/>
<path d="M13 8.5a2.5 2.5 0 0 1 5 0" stroke="#333" stroke-width="0.3" fill="none"/> <!-- Magnifying glass handle -->
<!-- Beak (arrow-shaped) -->
<path d="M12 14l-1 1.5M12 14l1 1.5" stroke="#ffd700" stroke-width="0.5" fill="none"/>
<!-- Feathers (wisdom symbols) -->
<path d="M8 5c-1 0-2 1-2 2" stroke="#e0e0e0" stroke-width="0.3" fill="none"/>
<path d="M10 4c-1 1-1 2 0 3" stroke="#e0e0e0" stroke-width="0.3" fill="none"/>
<path d="M16 4c1 1 1 2 0 3" stroke="#e0e0e0" stroke-width="0.3" fill="none"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB