linicon-theme

Crates.iolinicon-theme
lib.rslinicon-theme
version1.2.0
sourcesrc
created_at2020-08-10 07:47:14.076917
updated_at2022-02-03 17:47:48.793179
descriptionGet the user's current icon the on Linux
homepage
repositoryhttps://git.sr.ht/~zethra/linicon-theme
max_upload_size
id274964
size30,828
Sashanoraa (gaykitty)

documentation

https://docs.rs/linicon-theme

README

Linicon Theme

crates.io docs.rs Minimum Supported Rust Version

Get the user's current icon theme on Linux

There isn't a unified standard for getting the current icon theme on Linux. So linicon-theme attempts to check many places theme information might be stored. See the docs for more details.

Example

use linicon_theme::get_icon_theme;

println!("Your current icon theme is: {}", get_icon_theme().unwrap());

Contributing

Please send any and all patches, bugs, and questions to my public inbox ~zethra/public-inbox@lists.sr.ht or submit a ticket to the bug tracker if you feel so inclined todo.sr.ht/~zethra/linicon.

Commit count: 0

cargo fmt