Skip to content

Jhyub/Ikon

Repository files navigation

Ikon

Build Actions Status Maven Central Version
Ikon is a Kotlin/JVM library that fetches icons on a freedesktop environment.
Ikon follows the freedesktop.org specifications for Icon Themes and XDG Base Directories.

IkonTest.mp4

Usage

import java.io.File
import dev.jhseo.Ikon

val fileManagerIcon: File? = Ikon.fetch("system-file-manager")
val hicolorSpotifyIcon: File? = Ikon.fetch("spotify", "hicolor")
val themeName: String? = Ikon.themeName()