linicon 2.3.0

Look up icons and icon theme info on Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use linicon::lookup_icon;
fn main() {
    let theme_name = "Faenza";
    let icon_name = "wireshark";
    let size = 64;
    let scale = 1;
    let firefox_icons: Vec<_> = lookup_icon(icon_name)
        .from_theme(theme_name)
        .with_size(size)
        .with_scale(scale)
        .collect();
    println!("{:#?}", firefox_icons);
}