Skip to content

added icon fetching #48

Draft
Marbowls wants to merge 6 commits intoMjoyufull:devfrom
Marbowls:main
Draft

added icon fetching #48
Marbowls wants to merge 6 commits intoMjoyufull:devfrom
Marbowls:main

Conversation

@Marbowls
Copy link
Copy Markdown
Collaborator

@Marbowls Marbowls commented Mar 20, 2026

Summary by cubic

Add icon fetching for desktop apps. Resolves icon names to file paths using the current XDG icon theme, with a fallback to hicolor.

  • New Features

    • Added desktop::icons::lookup(name, size) using linicon-theme (theme detection) and freedesktop-icons (path search), with absolute path support and hicolor fallback.
    • Exported the icons module from desktop.
  • Bug Fixes

    • Fixed #[allow(dead_code)] attribute syntax in icons::lookup to restore compilation.
    • Corrected absolute-path check and improved theme retrieval.

Written for commit bfeef7a. Summary will update on new commits.

@Mjoyufull Mjoyufull mentioned this pull request Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant